Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #149435
    reneecarlson94
    Participant

    I have installed and activated the Essential Content Types plugin and have enabled Portfolio projects and featured content on the homepage. It is currently showing as featured content first and then underneath portfolio. I would like to change it so the portfolio is at the top and featured content underneath.
    How can I do this?

    Thank you in advance.

    #149469
    Skandha
    Keymaster

    @reneecarlson94: Please post in your site URL so that I can look in to the issue.

    Kind Regards,
    Skandha

    #149483
    reneecarlson94
    Participant

    https://backpackfullofmaps.com/ (my site isn’t live yet)

    #149550
    reneecarlson94
    Participant

    I am using the Catch Wheels Pro theme on my site

    #149641
    Skandha
    Keymaster

    @reneecarlson94: For this you will need to create a child theme. If you are familiar with child theme customization please follow the following steps, if you are not familiar with child theme customization I suggest you to hire a customizer.

    If you do not know how to create a child theme you can Generate Child Theme Plugin. After creating the child theme Open your text editor and paste the following Code save it as header.php in your child theme folder.

    <?php
    /**
    * The header for our theme
    *
    * This is the template that displays all of the <head> section and everything up until <div id="content">
    *
    * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
    *
    * @package Catch_Wheels
    */
    
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<meta charset="<?php bloginfo( 'charset' ); ?>">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
    	<link rel="profile" href="http://gmpg.org/xfn/11">
    
    	<?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    	<div id="page" class="site">
    		<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'catch-wheels-pro' ); ?></a>
    
    		<header id="masthead" class="site-header">
    			<div class="site-header-main">
    				<?php get_template_part( 'template-parts/header/site', 'branding' ); ?>
    
    				<?php get_template_part( 'template-parts/header/site', 'navigation' ); ?>
    			</div> <!-- .site-header-main -->
    		</header><!-- #masthead -->
    
    		<div class="below-site-header">
    
    			<div class="site-overlay"><span class="screen-reader-text"><?php esc_html_e( 'Site Overlay', 'catch-wheels-pro' ); ?></span></div>
    
    			<?php 
    			if ( 'after-header' === get_theme_mod( 'catch_wheels_moveable_sidebar_position', 'after-slider' ) ) {
    				get_sidebar( 'moveable' );
    			}
    			?>
    
    			<?php get_template_part( 'template-parts/slider/content', 'display' ); ?>
    			<?php 
    			if ( 'after-slider' === get_theme_mod( 'catch_wheels_moveable_sidebar_position', 'after-slider' ) ) {
    				get_sidebar( 'moveable' );
    			} 
    			?>
    
    			<?php get_template_part( 'template-parts/header/breadcrumb' ); ?>
    
    			<?php get_template_part( 'template-parts/header/header', 'media' ); ?>
    
    			<?php ! get_theme_mod( 'catch_wheels_services_position' ) ? get_template_part( 'template-parts/services/display', 'services' ) : ''; ?>
    
    			<?php get_template_part( 'template-parts/hero-content/content', 'hero' ); ?>
    
    			<?php get_template_part( 'template-parts/portfolio/display', 'portfolio' ); ?>
    
    			<?php ! get_theme_mod( 'catch_wheels_featured_content_position' ) ? get_template_part( 'template-parts/featured-content/display', 'featured' ) : ''; ?>
    
    			<?php ! get_theme_mod( 'catch_wheels_events_position' ) ? get_template_part( 'template-parts/events/display', 'events' ) : ''; ?>
    
    			<?php 
    			if ( 'before-content' === get_theme_mod( 'catch_wheels_moveable_sidebar_position', 'after-slider' ) ) {
    				get_sidebar( 'moveable' );
    			}
    			?>
    
    			<?php
    			$enable_homepage_posts = catch_wheels_enable_homepage_posts();
    
    			if ( $enable_homepage_posts ) : ?>
    			<div id="content" class="site-content">
    				<div class="wrapper">
    			<?php endif; ?>

    Now checkout if the order has changed.
    Let me know if this works out!
    Kind Regards,
    Skandha

    #149667
    reneecarlson94
    Participant

    I have already created a child theme. I will give that code a go and let you know if it works out.
    Thankyou 🙂

    #149669
    Skandha
    Keymaster

    @reneecarlson94: Sure. Let me know if it works out. 🙂

    Kind Regards,
    Skandha

    #149701
    reneecarlson94
    Participant

    Thank you SO much!
    Your a legend, it worked. 🙂

    #149743
    Skandha
    Keymaster

    @reneecarlson94: Hello there, I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
    https://wordpress.org/support/theme/catch-wheels/reviews/#new-post
    Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated. Thanks, and if there’s anything else at all that I can do to help,
    don’t hesitate to let me know. Have a good day! 🙂

    Kind Regards,
    Skandha

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Essential Content type pluggin (how to change the order on home page)’ is closed to new replies.