Home Forums HashOne Reorder the sections on the front page

Viewing 4 posts - 1 through 4 (of 4 total)
  • 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
    Hash
    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
    Hash
    Keymaster

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.