Closed Peace-N closed 11 years ago
Hi, you have a number of options to manipulate front page or home page content as follows:
Thanks Jonny,
I had to add a function in my functions file, function my_wfx_remove_sidebar() { if ( is_front_page() ) : add_filter ('wflux_sidebar_1_display','wfx__N'); endif; } add_action ('template_redirect','my_wfx_remove_sidebar', 1);
Is it proper this approach ?
Yes - that's perfect ;)
Thanks a mill :+1:
No problem at all - if you have any other questions/ideas (or spot any bugs!) just report it as another issue on GitHub.
I was just looking at this again - your code is fine and will work perfectly, but if will always disable the sidebar. If you want to do this across the entire site, it's just as easy to use the Wonderflux layout options to control this (under 'Appearance' in admin area or off the Wonderflux link on the top WordPress admin bar - just in-case you had missed the sidebar option ;)
Brilliant thanks, this would definately do the Job.. I had actually missed.
How do I create a front-page.php with custom development in Wonderflux, it doesn't seem to be responding.