Forum Replies Created
-
AuthorPosts
-
Eiger
MemberHi Summer - it's failing on the following - and this is only with Genesis and Agency 2 active with bbPress:
Fatal error: Out of memory (allocated 74973184) (tried to allocate 79 bytes) in /home/xyz/xyz.com/wp-includes/functions.php on line 336
On line 336 I have this: "return serialize( $data )"
From lines 326 to 344 is this code in the functions.php includes file:
/**
* Serialize data, if needed.
*
* @since 2.0.5
*
* @param mixed $data Data that might be serialized.
* @return mixed A scalar data
*/
function maybe_serialize( $data ) {
if ( is_array( $data ) || is_object( $data ) )
return serialize( $data );// Double serialization is required for backward compatibility.
// See http://core.trac.wordpress.org/ticket/12930
if ( is_serialized( $data, false ) )
return serialize( $data );return $data;
}Last night I disabled Genesis and Agency 2 and so far no more errors...that's not what I was hoping to discover.
Any help from Studiopress?
Eiger
MemberHi ShariLee thanks for the input but tI get these errors regardless of the computer I'm using. It's online within WP.
Eiger
Memberbump
Eiger
MemberThanks I managed to add the widget area and it did show as a single column 'sidebar' at the top of the home page as that webpage stated but that's not where I want this footer 'sidebar' to appear. I'm using bbPress plugin and changed the code from "is_home" to "is_forums" and it crashed the home page and no pages would appear...
This is the code I'm using in my functions.php file - how do I get this to show only on my bbPress forum pages within Genesis?
/** added for forum footer */
/** from basicwp.com/add-new-widget-genesis-homepage/ */
genesis_register_sidebar( array(
'id' => 'footer-forum',
'name' => __( 'Forum Footer', 'custom' ),
'description' => __( 'This footer will appear instead of the primary footer, when the forum page template is used.', 'custom' ),
) );/** forum footer section */
add_action( 'genesis_before_footer', 'news_footer_forum', 9 );
function news_footer_forum() {
if ( is_forum() && is_active_sidebar( 'footer-forum' ) ) {
echo '<div class="footer-forum">';
dynamic_sidebar( 'footer-forum' );
echo '</div><!-- end .footer-forum -->';
}
}The bottom line is I need a different three column widgetised footer to appear on all my forum pages only and no where else in the site.
Thanks again for the help.
Eiger
MemberYes & No - I want to add an alternative footer-xyx.php file that has three widget areas in addition to the three standard ones so I can assign a different footer to a particular page ie my forum page
-
AuthorPosts