Tagged: additional, box, column, footer, row
-
AuthorPosts
-
March 1, 2017 at 3:56 pm #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.
March 1, 2017 at 11:02 pm #753983Hey 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-
This reply was modified 8 years, 8 months ago by
Jordan Shannon.
March 2, 2017 at 3:50 pm #754385Hey 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.
March 4, 2017 at 6:03 am #755479Hi,
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,
RikardJanuary 8, 2018 at 11:33 pm #894956I 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.
January 8, 2018 at 11:56 pm #894967Hi,
Did you need additional help or shall we close this topic?
Best regards,
Jordan Shannon -
This reply was modified 8 years, 8 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
