• Resolved lukecjdavis

    (@lukecjdavis)


    Hi there,

    I have decided to use this theme for my first blog – it looks great, and with a bit of tweaking it looks like it is exactly what I was after!

    I’m just wondering if it is at all possible to configure the text field for the heading of posts featured in the image slider to have a sub heading too, of a slightly smaller font? For example:

    Oblivion <- Main Heading
    Is it Tom Cruise’s best film? <-Sub heading

    Many thanks in advance,
    L

Viewing 3 replies - 1 through 3 (of 3 total)
  • 1. Open the desired “page-template.php”
    2. Insert your desired “<sub-heading>” just below the “Main Heading Div”
    3. Style as you like in style.css

    or:

    Accomplish this through a “custom-field” / “php call”

    Hi there,

    The file you’d want to edit would be “slider.php”, around line 30. I’d recommend using WordPress’s Custom Fields for a sub-heading.

    http://codex.wordpress.org/Custom_Fields

    Thread Starter lukecjdavis

    (@lukecjdavis)

    Excellent – I done it through creating a custom field and editing the slider.php field with the following value straight after the </H2> tag:

    <?php $key=”SubHeading”; echo get_post_meta($post->ID, $key, true); ?>

    The best thing about this is that as it is already in an existing loop, the sub-headings change for each post on the slider to correspond with each article.

    Thanks very much to you both! Much appreciated. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sub Heading for Slider Images’ is closed to new replies.