May 1st, 2020 at 19:26 #102198
In my child theme, I want to:
Move the Frontpage text area div “front-text3” above the Frontpage columns, but below the Second FrontPage title div “front-text2”.
How do I do this?
.\ Lars Olsen
Website: redzoneracing.noMay 2nd, 2020 at 13:58 #102234ZedCryout Creations mastermind
The order of the presentation page sections is not configurable. The task can be achieved only by modifying theme code (look for mantra_frontpage_generator() in includes/theme-frontpage.php; this function is pluggable and can be customized in a child theme).If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.May 2nd, 2020 at 14:28 #102256
You say that the order of the presentation page sections is not configurable.
But then you say that mantra_frontpage_generator is pluggable, and can be customized in a child theme.
I’m afraid you lost me there.
I’m already using a working child theme from before.
Now I’ve tried the following:
Then cut line 170, and pasted it to line 143.
I might be wrong, but I thought this would achieve my goal.
Could you please guide me in some more detail?May 31st, 2020 at 19:56 #103424ZedCryout Creations mastermind
By configurable I am referring to “configurable through the options”.
With WordPress, “pluggable” means you can copy that entire function to the child theme (in the functions.php file or a separate file that gets included) and then you can customize it there.
Some of the files present in the theme are not automatically picked up by WordPress if they are duplicated in the child theme. Everything in the includes/ folder falls in this category.If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.
The topic ‘Mantra: Frontpage text area above columns’ is closed to new replies.