Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cerrmj

    (@cerrmj)

    So, I went to look today and it is working now. No database error… And the Mailpoet dashboard items are all there.

    I’m going to assume that there was some issue with the hosting company.

    Anyway, thankfully it fixed itself somehow.

    Thread Starter cerrmj

    (@cerrmj)

    Denzel,

    Thanks you so much for the screen-cast – I was able to make the changes you demonstrated and my SS3 slider is now above the Featured Pages and is working perfectly. Thanks so much for you quick responses!

    Here is my fucntions.php file for others that want the code Denzel provided in the screen-cast to move the features pages to below the page content:

    <?php
    /* Write your awesome functions below */
    //we hook the code on the wp_head hook, this way it will be executed before any html rendering.
    add_action ( 'wp_head' , 'move_my_fp');
    function move_my_fp() {
    	//we unhook the featured pages
    	remove_action  ( '__before_main_container', array( CZR_featured_pages::$instance , 'czr_fn_fp_block_display'), 10 );
     
    	//we re-hook the block. Check out the priority here : set to 0 to be the first in the list of different actions hooked to this hook 
    	add_action  ( '__after_article_container', array( CZR_featured_pages::$instance , 'czr_fn_fp_block_display'), 0 );
    }
    /* end of functions */
    ?>
    Thread Starter cerrmj

    (@cerrmj)

    Denzel,

    I’ve updated the code in my child theme’s functions.php to this:

    remove_action  ( '__before_main_container' , array( CZR_featured_pages::$instance , 'czr_fn_fp_block_display'), 10 );
    add_action  ( '__after_content' , array( CZR_featured_pages::$instance , 'czr_fn_fp_block_display'));

    I’m getting an error now:
    Fatal error: Class ‘CZR_featured_pages’ not found in /home/bobswh5/public_html/asburyunitedmethodist.org/wp-content/themes/customizr_child/functions.php on line 5

    Thanks in advance.
    Bob.

Viewing 3 replies - 1 through 3 (of 3 total)