Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #147825
    bigbearFA
    Participant

    I want to re-arrange the homepage a bit by making the tournaments right below the “featured slider” There is a forum post on Catch Themes that says how to do this, but I need a bit of custom code from the developer. Can you make a post there and ask him for that code?
    I want to move the “Featured Content” right below the “Featured Slider”

    #147861
    Skandha
    Participant

    @bigbearfa: For this you will need to create a child theme. If you do not know how to create a child theme then you can use Generate Child Theme plugin. Then Go to => Child Theme Folder => functions.php and add the following code.

    
    if ( ! function_exists( 'parallax_frame_featured_content_display_position' ) ) :
    /**
     * Homepage Featured Content Position
     *
     * @action parallax_frame_content, parallax_frame_after_secondary
     *
     * @since Parallax Frame 1.0
     */
    function parallax_frame_featured_content_display_position() {
    	// Getting data from Theme Options
    	$options 		= parallax_frame_get_theme_options();
    
    	if ( $options['featured_content_position'] ) {
    		add_action( 'parallax_frame_after_content', 'parallax_frame_featured_content_display', 15 );
    	}
    	else {
    		add_action( 'parallax_frame_before_content', 'parallax_frame_featured_content_display', 15 );
    	}
    }
    endif; // parallax_frame_featured_content_display_position
    add_action( 'parallax_frame_before', 'parallax_frame_featured_content_display_position' );

    Let me know if this works out.
    Kind Regards,
    Skandha

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘I need Custom Code!’ is closed to new replies.