-
AuthorPosts
-
April 12, 2021 at 1:04 pm #1293931
Footer missing on specific post type (contest, using TotalContest plugin)
If I select standard footer widgets & socket it shows up but nothing shows when selecting use page as footer.
The footer shows up on pages and standard posts.
If I revert to display footer widgets & socket they show on the contest post – just not the footer page I have to be displayed as footer.
Inspector shows the element to be empty on the contest posts:
<div class=”container_wrap footer-page-content footer_color” id=”footer-page”> </div>
Any ideas gratefully received.April 14, 2021 at 12:37 pm #1294369Hey Steve,
Thank you for your patience and for the links, while I’m able to get to the login page I’m redirected to an error page after login, please see the link below, do you have any security plugins activated? Have you tried deactivating your other plugins to see if there is a conflict?Best regards,
MikeApril 14, 2021 at 12:40 pm #1294373Hi Mike,
Thank you for your time.
The links were in the hidden content of the original post, maybe they didn’t carry through? I’ll include them in this update.
I’ve tested with all plugins deactivated with the same results.April 15, 2021 at 1:58 pm #1294573Hi,
Thank you, I did see the login info in the Private Content Area, but for some reason I was having issues logging in, anyways I was able to get it today. So in comparing your standard post using the classic editor and your custom post type using the classic editor, I note that the backend sidebar panel Layout is not available which is what allows the use of the “page as a footer” option. I believe that you need to enable ALB for any post type by following the steps in the documentation.
Please add and edit the function via FTP as I’m unsure how your plugin will behave with this function and your site may crash, hopefully not, but it is better to be ready to remove the function via FTP should this occur. Hopefully this will allow the Layout sidebar panel to be available and thus allow the “page as a footer” to show.Best regards,
MikeApril 15, 2021 at 2:20 pm #1294574Hi Mike,
Thank you.
I looked up the post type in the database and found 2: contest and contest_submission.
I added both to the child theme’s functions.php file but there doesn’t appear to be any change.function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'contest'; $supported_post_types[] = 'contest_submission'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); function avf_metabox_layout_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'contest'; $supported_post_types[] = 'contest_submission'; return $supported_post_types; } add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
April 16, 2021 at 12:07 pm #1294773Hi,
Thank you for the feedback, I see that the Layout sidebar panel is now available for your custom post type in the backend now but it is not respecting the footer options picked. The plugin does respect the title bar options and the sidebar options, just not the footer options.
Try reviewing the plugin options for anything relating to footers and try reaching out to the plugin author to see if they have any recommendations for their custom post type as it relates to footers. I would say that this custom post type override is working as far as the theme can go, and now it’s a matter of what the plugin is doing. Perhaps you will need to use the standard footer options with this plugin?Best regards,
MikeApril 16, 2021 at 1:03 pm #1294792Hi Mike,
I kind of guessed that’s where we were heading.
I did speak to TotalSuite, they recommended I speak to yourselves so I think best all round (as you suggest) to move forward with the conventional footer solution.
Thank you for your time.
SteveApril 17, 2021 at 5:13 pm #1294914Hi,
Very good then, thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Footer missing on specific post type (contest, using TotalContest plugin)’ is closed to new replies.