• Resolved corriebme

    (@corriebme)


    Hello! I’m new to wordpress and am not a developer. I am a graphic designer by trade. My customer (who knows I am learning as I go) chose the AZA lite theme for their website. There are a couple of sections of the home page I want to either delete, or fill with graphics (instead of recent blog posts or buttons and text, etc). I haven’t found anywhere to edit the front page sections. I don’t mind editing code if necessary, I just need a bit of direction for this specific theme. Also, can I change the leading of the font to be tighter globally? Thanks so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello friend!

    Here’s the deal.

    PHP tells your WordPress theme what to spit up onto the site.

    You’ll need to find this bossy file and delete a couple lines.

    You can find and edit this file via Appearance > Editor.

    The file is in the bar to the right.

    Find: AZA Lite: Homepage Template Page Template (template-frontpage.php)

    You’ll see code that looks like this:

    <div id="content" class="content-warp" role="main">
    
    		<?php
    
    		get_template_part('/template-parts/aza-header-section');
    
    		get_template_part('/template-parts/aza-blog-section');
    
    		get_template_part('/template-parts/aza-contact-section');
    
    		?>
    
    	</div><!-- .content-wrap -->
    

    Delete the entire line of get_template_part(”); that you do not want based of off the “/template-parts/aza-*-section” as it corresponds to the Customizer Sections.

    Hope that helps!

    JAKE

    • This reply was modified 8 years, 1 month ago by dacbyjs.

    Also this is the developer’s wordpress: https://profiles.www.ads-software.com/baicusandrei

    He maybe helpful.

    Allons-y!

    Thread Starter corriebme

    (@corriebme)

    Thanks so much! I experimented last night and found that deleting the content out of the php files for the sections I did not want took the sections off the home page. I don’t know if I’m creating some havoc behind the scenes though!

    Deleting content is fine.

    However divs, containers, etc. that are styled will remain.

    Giving extra stripy feel to theme.
    Deleting those lines of php will guarantee that the script doesn’t call those sections.
    Wreaking zero visible havoc.

    Jake

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing or Deleting Front Page Sections’ is closed to new replies.