Mantra: Frontpage text area above columns

  • Author
    Posts
  • #102198

    Hi.

    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.no

    #102234
    Zed
    Cryout 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.
    #102256

    Hi Zed!

    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:

    Copy: themes/mantra/includes/theme-frontpage.php
    To: themes/mantra-child/includes/theme-frontpage.php

    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?

    #103424
    Zed
    Cryout 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.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Mantra: Frontpage text area above columns’ is closed to new replies.