Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6212
    donnamahony
    Participant

    . I am trying to find a spot in the code for the mainpage to insert a simple table with 1 row and maybe like 3-6 columns to insert little sponsor images between the FEATURED CONTENT and the slider above.   Which template and where would I insert code to pull something like this off ?   I attached a image to show kinda what i mean.

    http://www.dbrfunfest.com/table-insert-point.jpg

    Just need to know where in the editor I can injext a custom peice a code between slider and the featured content options.

    #6233
    donnamahony
    Participant

    anyluck ?

    #6252
    Sakin
    Keymaster

    @Kevin: You can build child theme and then create a function in your child theme functions.php to add the code you want and then just hook to catcheverest_main action hook.

    For example:

    function catcheverest_child_sponsor() {
    echo 'hello child sponsor';
    } // catcheverest_child_sponsor

    add_action( 'catcheverest_main', 'catcheverest_child_sponsor', 15 );

    #6253
    Sakin
    Keymaster

    @Kevin: You can build child theme and then create a function in your child theme functions.php to add the code you want and then just hook to catcheverest_main action hook.

    For example:

    function catcheverest_child_sponsor() {
    echo 'hello child sponsor';
    } // catcheverest_child_sponsor

    add_action( 'catcheverest_main', 'catcheverest_child_sponsor', 15 );

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Inserting Custom Code Into Front / Main Page’ is closed to new replies.