Home Support HashOne Reorder the sections on the front page

This topic contains 3 replies, has 2 voices, and was last updated by  HashThemes 4 weeks, 1 day ago.

  • Author
    Posts
  • #2832

    maurice
    Participant

    Hi everybody,
    I’d like to know where I can change the order of the sections in the code. I can’t find the function get_template_part() anywhere, in the front page template it says:

    	foreach ($hashone_home_sections as $hashone_home_section) {
    
    		get_template_part( 'template-parts/section', $hashone_home_section );
    
    	}

    Hope you can help me!
    Best
    Maurice

  • #2847

    HashThemes
    Keymaster
  • #2874

    maurice
    Participant

    Hi,
    awesome, thank you very much, I’ll try that!
    I have one more question, I would like to have two contact sections on my front page.
    If I copy+paste the section-contact.php in the template-parts directory and rename it to g.e. section-contact2.php, how can I make it appear in the customizer for adding the information for the second section? Hope you can help!
    Best
    Maurice

  • #2880

    HashThemes
    Keymaster

    Sorry, it is not possible with just copy and paste. It will copy the same section. It require some complex customization.

You must be logged in to reply to this topic.