• Resolved babussell2

    (@babussell2)


    Hello there!

    I would like to place 3 content boxes in place of “News, Events, and Featured posts” on the homepage. However, I don’t know how I should go about doing this. I’m pretty sure I have to go through a php file, but not sure which one.

    Any Help is VERY much needed!

    https://franchisesociety.com/

Viewing 4 replies - 1 through 4 (of 4 total)
  • leoeff

    (@leofx4)

    What theme are you using? I would need to see the file structure, does your homepage use a template in the page settings?

    Thread Starter babussell2

    (@babussell2)

    I’m using WP education theme by Vuzzu.

    This is the following code for the current content boxes on the homepage as we speak. Found in the template-home.php file.

    get_header(); ?>
    
    	<div class="container container_12">
    
    		<?php get_sidebar(); ?>
    
    		<!-- BEGIN CONTENT  -->
    		<div class="content alignleft">
    
    			 <div class="grid_8 conimage"><a href="https://franchisesociety.com/event-registration/"><img class="alignright" src="https://franchisesociety.com/wp-content/uploads/2016/11/2017-ISOF-CONFERENCE-BANNER.jpg" alt="" /></a></div> 
    <?php
    
    			if(have_posts()) : the_post();
    				echo '<div class="grid_8">';
    					the_content();
    				echo '</div>';
    			endif;
    
    			// Showing featured news
    			if( !get_option('vz_options_home_featuredarticles_disabled') ) vz_home_featured();
    
    			dynamic_sidebar('Home-feeds');
    
    			// Showing home news block
    			if( !get_option('vz_options_home_newsblock_disabled') ) vz_home_news();
    
    			// Showing home events block
    			if( !get_option('vz_options_home_eventsblock_disabled') ) vz_home_events();
    
    			// Showing new sidebar
    			dynamic_sidebar('Home-bottom');
    
    			?>
    
    		</div>
    		<!-- END CONTENT  -->
    
    	</div>
    
    <?php get_footer(); ?>

    As you can see, it has the “events, featured posts, and news” referenced here. I’m assuming I would have to add content boxes by switching something out?

    • This reply was modified 8 years ago by babussell2.
    esmi

    (@esmi)

    I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here. Your best bet is always your product’s developer, so we encourage you to use the official support venues, as it allows the developers to be aware of issues with their code and gives back to the community in a more robust way.

    Try https://themeforest.net/item/wp-education-responsive-professional-and-powerful-education-theme/4786561/support

    Thread Starter babussell2

    (@babussell2)

    Well, the developer doesn’t offer support for the item anymore. But thanks anyway I guess.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding 2 Content Boxes on Homepage’ is closed to new replies.