Change order of Homepage items?
You would need to modify the code to do this. Don’t know how.
Yeah, I’ve dug through each of the included pages but none of the parts look to have the content I am looking for. I’ve found the div for the main content wrapper, but nowhere to change the php code to sort differently. I’ve changed themes already anyways.
Maybe if they come up with a way to sort the homepage items I’ll be back…it’s a very promising theme.
The way I did this was as follows:
In my child theme find the following code in custom-page.php
do_action( ‘__fp_block’ );
Move this all the way down just above get_footer();
Worked for me!
Thanks for the tip…I’ll check into it if i revisit the theme later.
I tried this and it didnt work…? Here is what my custom-page.php code looks like:
<?php /* Template Name: Custom Page Example */ get_header(); do_action( '__breadcrumb' ); ?> <div class="container" role="main"> <div class="row"> <?php do_action( '__sidebar' , 'left' ); do_action( '__loop' ); do_action( '__sidebar' , 'right' ); ?> </div><!--#row --> </div><!-- #container --> <?php do_action( '__fp_block' ); get_footer(); ?>
I copied your code and tested it on my site and it worked for me. Are you sure you selected your custom template and clicked update in the wp-admin area?
I am having the same issue and this solution above does not seem to work for me.
Here is what I did:
1. Created a child theme for customizr
2. Included a style.css file and a custom-page.php file in the child directory
3. Moved the do_action( ‘__fp_block’ ); line all the way down above the get_footer() line as in the code above from macohen85
4. Activated the child theme
What else do I need to do? Not sure what you mean by “clicked update in the wp-admin area”. Where do I select my custom template and click update?
Apologize if this is a basic question – I am new to all this….
Update – if you make the same change to index.php (instead of custom-page.php) it works!
What I mean is when you go to your dashboard > pages > choose the page where you want to implement the changes. On the right side of that page you will have Page Attributes. In the template dropdown box, choose custom-page.php and then click update.
If you make changes in index.php any updates to the theme will overwite your changes – as far as I know.
Let me know if that works for you.
I think ordering of Home Page items (page content or post, slider and featured pages section) could provide more theme flexibility, if it is in customization option under Front Page Section. Nikeo, please consider this in the next version !!!
I want to reorder Home Page items. How can i do it on version 3.0.10. I can find get_header()!!!
I want to reorder Home Page items. How can i do it on version 3.0.10. I can NOT find get_header()!!!
get_header is in /parts/class-header-header_main.php, but also look in custom-page.php and index.php which have changed in 3.0.10
How can I do this on 3.0.10? Sorry for asking the basic help.
This below method is for 3.0.9
Template Name: Custom Page Example
do_action( ‘__breadcrumb’ );
<div class=”container” role=”main”>
do_action( ‘__sidebar’ , ‘left’ );
do_action( ‘__loop’ );
do_action( ‘__sidebar’ , ‘right’ );
</div><!– #container –>
do_action( ‘__fp_block’ );
- The topic ‘Change order of Homepage items?’ is closed to new replies.