Community Forums › Forums › Archived Forums › General Discussion › genesis_post_content stopped working after upgrade to 1.9.1
- This topic has 4 replies, 2 voices, and was last updated 11 years, 1 month ago by HammerHankinson.
-
AuthorPosts
-
March 7, 2013 at 9:52 am #24776HammerHankinsonMember
I am relatively new to Genesis (I've built a number of sites with it but still grasping the full potential of it) and I have a site that another developer at my company started and then he quit and I inherited the site. He was using the "genesis_post_content() ;" hook to call in the content on a custom page template and for some reason after I upgraded Genesis to 1.9.1 the content associated with that hook is no longer showing up. Here is the snippet he used:
<h1>
<?php the_title(); ?></h1><?php genesis_post_content(); ?>
<?php genesis_after_content(); ?>
<?php genesis_after_content_sidebar_wrap(); ?>
<?php get_footer(); ?>Everything else is working fine, its just the content thats not being pulled in.
March 7, 2013 at 10:47 am #24793AnitaKeymasterCan you post a link to the page that should have the content showing on it? Is that the only code on the page? Can you post the entire template code here for us to take a look?
Love coffee, chocolate and my Bella!
March 7, 2013 at 10:53 am #24796HammerHankinsonMemberUnfortunately the site is still in development and I don't have a public link that I can share.
Here is the full template code:
<?php /*
Template Name: Interal w/ Video Bar
*/ ?>
<?php get_header(); ?>
<?php genesis_before_content_sidebar_wrap(); ?><div id="ipwv-widgeted-1">
<?php if (!dynamic_sidebar('Internal with video Top')) : ?>
<div class="widget">
<h4>
<?php _e("Internal with video Top", 'genesis'); ?>
</h4>
<p>
<?php _e("This is a widgeted area which is called Home Top. It is using the Genesis - Featured Page widget to display what you see on the Freelance child theme demo site. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Genesis - Featured Page widget into the Home Top widget area on the right hand side.", 'genesis'); ?>
</p>
</div>
<!-- end .widget -->
<?php endif; ?>
</div><div id="ipwv-widgeted-2">
<?php if (!dynamic_sidebar('Internal with video left')) : ?>
<div class="widget">
<h4>
<?php _e("Internal with video left", 'genesis'); ?>
</h4>
<p>
<?php _e("This is a widgeted area which is called Home Top. It is using the Genesis - Featured Page widget to display what you see on the Freelance child theme demo site. To get started, log into your WordPress dashboard, and then go to the Appearance > Widgets screen. There you can drag the Genesis - Featured Page widget into the Home Top widget area on the right hand side.", 'genesis'); ?>
</p>
</div>
<!-- end .widget -->
<?php endif; ?>
</div><div id="ipwv-widgeted-3">
<h1>
<?php the_title(); ?></h1><?php genesis_post_content(); ?>
</div>
<?php genesis_after_content(); ?>
<?php genesis_after_content_sidebar_wrap(); ?>
<?php get_footer(); ?>March 7, 2013 at 11:08 am #24798AnitaKeymasterDo you know what theme name you are using? It looks like
youthe page template he created is widgetized also. Check your plugins to see if you can find any type of "widgetized" plugins in there.
Love coffee, chocolate and my Bella!
March 7, 2013 at 11:46 am #24808HammerHankinsonMemberThe theme is a custom built Genesis child theme and I only have basic genesis plugins activated (simple hooks, simple sidebars, etc) with the exception of the .html and AddtoAny plugin and deactivating it didn't resolve the issue.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.