- This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
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.
© 2023 WPEngine, Inc.