- This topic has 2 replies, 1 voice, and was last updated 4 years, 3 months ago by .
- The forum ‘General Discussion’ 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.
Hello and thank you in advance to anyone who can help me resolve this issue.
Recently, I upgraded to Genesis 3.0.3 (I am using Centric Pro as a child theme). Doing so broke 2 of my pages that I have as custom templates. The errors that I received were related to the 2 functions below suddenly becoming undefined (I'm assuming that they no longer exist in the new/latest version of Genesis):
<?php genesis_before_content_sidebar_wrap(); ?> <?php genesis_before_content(); ?>
I had to switch back to a previous version of Genesis as a result (at least for now). Are there different (newer) functions that I can use in place of the ones above so that I can update to the latest version of Genesis without breaking my site?
Hello? Is there anyone out there who can help me?
I have rolled back to Genesis V 2.6.1 for now, but this is not a permanent solution.
In case this helps anyone else in a similar situation, I have found the solution to my issue(s) above:
I'm working on a new site locally with the Parallax Pro theme and with the latest version of Genesis, I encountered the same issue(s) when trying to create two custom pages.
The solution is simply just to not use any of these functions in my custom page templates:
<?php genesis_before_content_sidebar_wrap(); ?> <?php genesis_before_content(); ?> <?php genesis_before_loop(); ?> <?php genesis_loop(); ?> <?php genesis_after_content(); ?> <?php genesis_after_content_sidebar_wrap(); ?>
The whole process is now actually a lot more simple (yay!).
Here is an example on how to create a custom page with Genesis 3+:
Hope that this helps someone else:-)
© 2023 WPEngine, Inc.