Home › Forums › Calendar Products › Events Calendar PRO › Widget Containing Footer (upper part) not showing in Events Pages
- This topic has 8 replies, 2 voices, and was last updated 10 years, 9 months ago by
Brian.
-
AuthorPosts
-
August 9, 2015 at 9:48 pm #994644
Daniel
ParticipantIn my Event pages only the bottom bar of the footer shows up and the widgetized upper part does not. The footer element normally has the following classes: footer and solid-bg. In my Event page the footer element has the following classes: footer solid-bg empty-footer. I have added jQuery (at the end of “default-template.php” file) to remove the “empty-footer” class but it does not work. The “empty-footer” class appears to be linked to the “footer” class and it is only possible to remove both. I used jQuery to remove the entire class attribute and then re-create it with only the classes: “solid-bg and footer”. And like magic, “empty-footer” came with. Additionally, in the WP admin console in my “Event” page, I have selected the option: Show widgetized footer.
Please help me restore my widgetized footer in the Event pages. I am using the The7 theme which lists support for “The Events Calendar Pro” Plugin. I have purchased the Pro license.
Thank you!
DanielAugust 9, 2015 at 10:26 pm #994647Daniel
ParticipantSome additional info. I have rewritten the entire ‘default-template.php’ file with content that resembles the standard page.php file.
Content is very basic:
<?php get_header(); ?>
<p>HELP!</p>
<?php get_footer(); ?>The footer displayed is still incomplete. There is no widgetized footer part (upper part) while the bottom bar is present. All other plugins where disabled.
Thanks,
DanielAugust 9, 2015 at 10:39 pm #994651Daniel
ParticipantMore info. When on page class= “single single-tribe_events” the full Footer with widgetized area shows. Using the same default.template.php file. The page with class = “archive post-type-archive” does not show the upper widgetized part of the footer. (also using ‘default.template.php’)
August 9, 2015 at 11:28 pm #994656Daniel
ParticipantTo make sure I am clear, the widgetized upper footer does not appear in the ‘archives:’ page but it DOES appear in the single event pages. Something about the archives page is truncating my footer…
The complete footer appears in every page of my site (~11) with the exception of Events ‘archives:’
Thanks,
DanielAugust 10, 2015 at 8:04 am #994756Brian
MemberHi,
Thanks for using our plugins. I can try to help out here, but I am limited in supporting 3rd plugins and themes per our terms and conditions.
Also, although The7 theme may say they support our plugins we do not have an agreement with them or endorsement them in anyway.
Having said that….
How does you theme display the Widget Area? What is that function? get_footer() is just the WordPress function to get the footer template, but what is the function in that template that runs the footer widget area?
Let me know and I can try to help out from here.
Thanks
August 10, 2015 at 9:24 am #994784Daniel
ParticipantHi Brian, thank you for the prompt response, it is greatly appreciated. Reviewing the footer.php file the function to display the widget area may be (not sure):
$config = Presscore_Config::get_instance();
Below I copy the contents of the entire footer.php file. I hope that helps! Thank you!!!! Let me know if you need more info.
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the <div class=”wf-container wf-clearfix”> and all content after
*
* @package vogue
* @since 1.0.0
*/// File Security Check
if ( ! defined( ‘ABSPATH’ ) ) { exit; }$config = Presscore_Config::get_instance();
if ( presscore_is_content_visible() ): ?>
</div><!– .wf-container –>
</div><!– .wf-wrap –>
</div><!– #main –><?php
if ( $config->get( ‘template.footer.background.slideout_mode’ ) ) {
echo ‘</div>’;
}do_action( ‘presscore_after_main_container’ );
?><?php endif; // presscore_is_content_visible ?>
</div><!– #page –>
<?php wp_footer(); ?>
</body>
</html>August 10, 2015 at 12:04 pm #994852Brian
MemberHi,
Thanks for providing that info.
It looks like the Footer Widget maybe created using this hook:
do_action( ‘presscore_after_main_container’ );
However, we do not have any information on your theme so I am not clear on the issue.
Can you reach out to the theme developer and see if they have any conditionals around their Footer Widget Area that would prevent it from running on an archive page.
Or do they have a way to manually call the footer widget areas to a hook that could be added to your theme’s functions.php. If this is the case we could use our conditionals to only show it on the Main Event Views.
Let me know what you find out.
Thanks
August 10, 2015 at 2:17 pm #994876Daniel
ParticipantThank you for your guidance. It does appear the7.2 theme is configured to not display the widgetized footer in archive pages. I have opened a ticket over there to get a fix. I found a fix on line for 7.1 but it does not apply to 7.2. I guess we can close this one up for now. Appreciate your help!
Daniel
August 10, 2015 at 2:53 pm #994882Brian
MemberOk sounds good.
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Also, if you need a list of conditionals to display the widget areas we have these available:
https://gist.github.com/jo-snips/2415009
Thanks
-
AuthorPosts
- The topic ‘Widget Containing Footer (upper part) not showing in Events Pages’ is closed to new replies.
