I am using Featured Posts Amplified plugin to show posts in columns format.
What I want:
Basically, want to move post meta up and show below image. Also, move post info to bottom.
Check this webpage - http://dev.iguiding.com/dev/?page_id=471
If you dig into widget.php within the plugin, you'll see that all output within the widget is tied to various hooks - so the good news is you can move pretty much anything around in any order you desire.
For example, right now the following hooks are used to add post info and meta:
add_action( 'gfwa_before_post_content', 'gfwa_do_byline', 10, 1 ); add_action( 'gfwa_after_post_content', 'gfwa_do_post_meta', 10, 1 );
If you want to switch the two, you can just include a variation of the following code in your functions.php or a custom plugin file:
// Remove the original action hooks remove_action( 'gfwa_before_post_content', 'gfwa_do_byline' ); remove_action( 'gfwa_after_post_content', 'gfwa_do_post_meta' ); // Add your new hooks add_action( 'gfwa_before_post_content', 'gfwa_do_post_meta', 10, 1 ); add_action( 'gfwa_after_post_content', 'gfwa_do_byline', 10, 1 );
You may need to tweak things depending on exactly where your code lives, but that's the gist. Let me know if you have any other questions, or if this isn't working for you.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!