This code enables you to modify the widget Title when using the Genesis Featured Page widget.
It doesn’t modify the page title output in the featured page widget, only the widget title which you can entry manually in the widget settings.
See the following screenshot :
To modify the entry title for pages displayed using the genesis featured page widget, use this code instead.
The code in this tutorial includes a conditional tag enabling you to modify the widget title on specific pages only.
In this case, only the widget title on the front page is modified and the default title is shown on all other pages.
See the following demo video for clarification :
Demo Video
Shows the Genesis featured Page widget title modified on the front page only and returning the default widget title on all other pages.
Tested using the Genesis Sample child theme by StudioPress however will work in any Genesis child theme. Also tested using the Genesis Featured Page Advanced plugin and the Genesis Featured Page widget native to Genesis.
Based on the following request from a registered user :
I subscribed yesterday as I needed help with putting a carriage return after the 1st word in the title of Genesis Featured Page Advanced widgets on the front page.
Code Installation
There’s only 1 step :
Copy & paste the PHP code from the functions.php file in the download folder to the end of your child themes functions file. You can then modify the widget title in the code. Support for modification of PHP code is included for registered users.
Register or login to access the code in the download folder :
Was This Tutorial Helpful?