AI Assistant
Notifications
Clear all

How-to load WordPress footer?

3 Posts
2 Users
0 Reactions
1,508 Views
Posts: 47
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@golabs)
Trusted Member
Joined: 5 years ago
[#56289]

After reading through the documentation I think that I should be able to load the regular WordPress (theme) footer on the wpForo pages as follow:

  • add functions-wp.php to /wp-content/themes/my-custom-theme/wpforo/functions-wp.php
  • then use this code
    add_action('after_setup_theme', 'wpforo_load_wp_footer', 10);
    
    function wpforo_load_wp_footer() {
        get_footer();
    }

But when I apply this nothing happens, so I must be overlooking something.

Some hits via Google mentioned to use `add_action('wpforo_footer', 'wpforo_load_wp_footer', 10);` instead but that is not making a difference.

In the end I reckon it should be possible as the initial page with the forum on it also has the WordPress (theme) footer visible.

Can you give me a pointer into the right direction?

Thanks!

P.S. I already confirmed that the custom functions-wp.php is being loaded when I load the forum pages.


2 Replies
Tutrix
Posts: 1519
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@tutrix)
Noble Member
Joined: 6 years ago

Hi @golabs 

If the footer and header are only missing from the profiles, you can enable them.

>> Show Header and Footer on Profile Pages


Reply
1 Reply
(@golabs)
Joined: 5 years ago

Trusted Member
Posts: 47
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@tutrix thanks for your reply. Unfortunately it's not that as I'm aware of that setting.

I just don't get the footer from my WordPress theme at the end of the page as soon as I navigate to every single page (Forum / Topic / Member Profile / etc). Here on the support forum it's the grey part where the copyright line is in.


Reply
Share: