Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #11730
    MikeGilbert
    Member

    Here is my website: http://onecityministries.org/

    I have read through other discussions but I could not understand or figure out a solution to position the featured content right above my footer, rather than below the sub-headline. Without this ability to move the featured content, then I will have to exclude content from my page because it defeats purpose in the position it is located.

    Please help, thanks!

    #11753
    Sakin
    Keymaster

    @MikeGilbert: This is quite Technical issue and is not there in option. This is customization page. So, first you need to build child theme.

    Then add the following code in your child theme functions.php

    // Unhook default parent functions
    function unhook_default_functions() {
    	remove_action( 'catcheverest_main', 'catcheverest_homepage_featured_display', 10 );
    }
    add_action('init','unhook_default_functions');
    
    add_action( 'catcheverest_after_secondary', 'catcheverest_homepage_featured_display', 10 );
    
    #11754
    Sakin
    Keymaster

    See this link for building child theme help http://codex.wordpress.org/Child_Themes

    #11843
    MikeGilbert
    Member

    Sakin, thank you for the reply and great customer service.

    First off, with much confusion and difficulty, I finally created a child theme; it is activated and working crisp and sound. I entered the code which you gave me, and I did not have any results.

    This is what I inputted:

    <?php

    // Unhook default parent functions
    function unhook_default_functions() {
    remove_action( ‘catcheverest_main’, ‘catcheverest_homepage_featured_display’, 10 );
    }
    add_action(‘init’,’unhook_default_functions’);

    add_action( ‘catcheverest_after_secondary’, ‘catcheverest_homepage_featured_display’, 10 );

    ?>

    #1 Perhaps,since I have catch-everest-pro I need to change a name within the function.php code?

    #2.Is function.php suppose to have a separate file/folder apart from my child theme?

    #3. Is it required that finction.php have a code inserted above this information:

    /*
    Theme Name: catcheverestpro-child
    Description:
    Author: Jacob Smith
    Template: catch-everest-pro

    (optional values you can add: Theme URI, Author URI, Version)
    */
    @import url(“../catch-everest-pro/style.css”);

    #4 This is all alien and foreign language to me. I have come far, and it would be great if I could move the featured content. Catch Themes does a great job in capturing the essence of a website. So far, I am highly please with the upgrade and use of catch themes.

    #11845
    Sakin
    Keymaster

    @MikeGilbert: In you child theme. You need to create the file functions.php and only add the following code.

    // Unhook default parent functions
    function unhook_default_functions() {
    	remove_action( 'catcheverest_main', 'catcheverest_homepage_featured_display', 10 );
    }
    add_action('init','unhook_default_functions');
    // Add Featured Content after seconday
    add_action( 'catcheverest_after_secondary', 'catcheverest_homepage_featured_display', 10 );
    #11852
    MikeGilbert
    Member

    I do not understand how to create a functions.php file due to the fact that I created this child theme through the “one-click child theme plugin.”

    #11855
    Sakin
    Keymaster

    @MikeGilbert: Ok I have just send your the Child Theme in your email. You can just upload and use it.

    #11858
    MikeGilbert
    Member

    Got it, THANKS!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Featured Content Re-location’ is closed to new replies.