Results 1 to 3 of 3

Thread: [Tutorial] Adding header label to (newly) created pages.

  1. #1
    Thread Starter
    Expired Customer sexd's Avatar
    Join Date
    Dec 2013
    Location
    United Arab Emirates
    Posts
    107
    Thanks
    5
    Thanked 3 Times in 3 Posts

    [Tutorial] Adding header label to (newly) created pages.

    Hi if you are like me and doesn't like that you can't use the header labels for newly created pages, this tutorial will come handy for you and it is super easy. Keep in mind: ALWAYS MAKE A BACKUP OF THE FILES YOU ARE ALTERING.

    Step 1. Copy your page.php from your themes directory to your childtheme folder
    Step 2. Replace
    <header>
    <h1><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
    </header>
    with

    <div class="list">
    <div class="section-head">

    <h1><?php printf( __( the_title() ), single_term_title( '', false )); ?></h1>

    </div>
    Step 3. All your newly created pages will now have a "header label" like the normal pages, I will attach a photo so you can see what I mean with "header label"


    1.PNG
    2.PNG


    /sexD

  2. #2
    Expired Customer nthiele7332's Avatar
    Join Date
    Feb 2014
    Location
    United States
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Expired Customer michellew's Avatar
    Join Date
    Mar 2014
    Location
    New Zealand
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Newly Created/Edited Custom Fields not avail to existing ads?
    By rodeoramsey in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: December 9th, 2011, 12:09 AM
  2. [SOLVED] Adding Widgets to Newly created pages
    By kopuk_1234 in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: September 10th, 2011, 06:02 PM
  3. Getting Newly Created Field on Submit Job Form to Show Up on Job Posting
    By islajobs in forum JobRoller General Discussion
    Replies: 2
    Last Post: March 3rd, 2011, 02:48 PM
  4. Drop down menu for created static pages
    By jacquesjvr1 in forum Report JobRoller Bugs
    Replies: 1
    Last Post: January 17th, 2011, 11:40 PM