Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #753774

    I would like to add a row above the regular four (or five) Columns in the Enfold footer.
    There should be some text that than appears on every page above the normal footer.
    Could you let me know how I can manage to achieve this?

    Thanks.

    #753983

    Hey Stefan,

    If you are familiar or comfortable with editing theme files you can add this to functions.php:

    add_action(‘wp_footer’, ‘prefooter_text’);

    function prefooter_text() {
    $content = ‘<p>This is inserted at the bottom</p>’;
    echo $content;
    }

    Then in footer.php make sure this is inserted before the footer is called:

    <?php
    do_action(‘wp_footer’);
    ?>

    
    

    Best regards,
    Jordan Shannon

    #754385

    Hey Jordan,

    I found a workaround which works good on Desktop and Tablet.
    I chose to have one footer widget and used the page as widget plugin. So I can choose what page to show as footer. So I created my complete Footer as a Page. It works pretty nice, but unfortunately if you have 4 columns it breaks down at one point to 2 rows with 2 columns but it does not go to 4 rows with 1 column for mobile phones.
    Any idea how I can achieve this. Its strange to me that it does the tablet size but does not go to mobile size.

    Thanks.

    #755479

    Hi,

    Thanks for the feedback though I can’t see that behaviour on my end, could you post a screenshot of the problem maybe?

    Best regards,
    Rikard

    #894956

    I had success with adding the action to ‘ava_before_footer’ instead of ‘wp_footer’, as in the example above. Then no edit to footer.php is needed.

    #894967

    Hi,

    Did you need additional help or shall we close this topic?

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.