Lot of users are asking this question: How to modify the “View Listing” text?. Very simple way you can change the text. Just drop the following code in your functions.php file and see the magic. add_filter( ‘gettext’, ‘agentpress_change_view_listings_text’, 20, 3 ); /** * Change view listings text. * * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/gettext * @see switch http://php.net/manual/en/control-structures.switch.php… Continue Reading
Archives for February 2016
Showing full content on category page
Drop the following code in your functions.php file add_action( ‘genesis_entry_content’, ‘show_full_content’, 1 ); function show_full_content() { if( ! is_category() ) //* returning early if it is not a category page return; add_filter( ‘genesis_pre_get_option_content_archive’, ‘__return_false’ ); //* disabling the excerpt add_filter( ‘genesis_pre_get_option_content_archive_limit’, ‘__return_false’ ); //* disabling the content limit option } if you are targeting the… Continue Reading
Creating Header Middle Widget Area between Site Title and Header Right Widget Area
In this article I am using one of my super cool plugin “Genesis Widget Areas Generator“. See the all steps below: Creating The Header Middle Widget Area Adding Content in Header Middle Widget Area Navigate to Appearance -> Widgets You will get new widget area “Header Middle” Drag&Drop the required widget in this area Now… Continue Reading
Add Avatar or Logo Before Site Title
Here is the snippet about this small things. Adding My Avatar Before The Site Title add_action( ‘genesis_site_title’, ‘gd_add_my_avatar’, 9 ); function gd_add_my_avatar() { printf( ‘<div %s>’, genesis_attr( ‘my-avatar’ ) ); echo get_avatar( ‘ENTER YOUR EMAIL ID HERE’, 64 ); echo ‘</div>’; } Here 64 is the avatar size. You will adjust the avatar size by… Continue Reading
Move sidebar above the entry content for specific page
Original request: Is it possible to move the sidebar above the content for specific pages? For example, when the phone becomes mobile responsive, I would like for only a single page to show the sidebar before the page content. I am using the Enterprise Pro theme. Any help would be appreciated. Thanks in advance. Here… Continue Reading