- 
		AuthorPosts
 - 
		
			
				
January 30, 2023 at 3:35 pm #1395920
Hi,
I want to create and set up different footers for different pages, but not able to do that with enfold theme, can anyone help me??January 31, 2023 at 3:07 am #1395980Hey NicomIT,
Thank you for the inquiry.
Are you trying to control the visibility of the widgets in the footer, or display different sets of widgets on certain pages? If so, you can try the following plugins.
// https://wordpress.org/plugins/if-widget/
// https://wordpress.org/plugins/widget-logic/You can also display a page based footer (Enfold > Footer > Default Footer & Socket Settings) and control the visibility of the content using css.
Best regards,
IsmaelJanuary 31, 2023 at 8:11 am #1395988Hey Ismael,
Thank you for your feedback, but my requirement is little different. I have already created a footer template page with the Avia Layout Builder and set up this page to replace footer from theme options, which is working fine. But now i have created another footer template which i wanted to use for few inner pages, that i cannot set for those inner pages anyhow, so i want to know how can i achieve this. screenshots linked for better understanding.
February 1, 2023 at 5:25 am #1396142Hi,
This is possible but you have to modify tee footer.php file directly. Around line 59, you will find this code.
$post = AviaCustomPages()->get_custom_page_object( 'footer_page', '' );This code retrieves your footer page, so what you can do is alter the value of $post based on certain conditions. For example, you can add the following code below that line to retrieve the other footer page when viewing the home page.
if(is_home()) { $post = get_post(23); }Replace 23 with the actual ID of your custom footer page.
Best regards,
IsmaelFebruary 1, 2023 at 6:45 am #1396148Hi Ismael,
Thank you for your feedback.
This has solved my problem.- 
		This reply was modified 2 years, 9 months ago by 
NicomIT.
 
February 1, 2023 at 9:43 am #1396164 - 
		This reply was modified 2 years, 9 months ago by 
 - 
		AuthorPosts
 
- The topic ‘create different footer for different pages’ is closed to new replies.
 



