Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Richie KS

    (@rkcorp)

    i didn’t see “Von Grau zu Bunt” in the content. which is it?

    you could add item in feat meta like this, add to child functions.php or functions.php

    function meso_add_sub_meta() {
    echo 'your code for suubtitle';
    }
    add_action('bp_after_feat_meta','meso_add_sub_meta');
    Thread Starter saschawalk

    (@saschawalk)

    Screenshot with subtitle

    Sorry it was “Aus Grau wird Bunt” as you can see on the screenshot. This is the same text as you can see in the TOC above.

    If there is a subtitle like this, I want to show it on Home unter the feat-meta div.

    Theme Author Richie KS

    (@rkcorp)

    afraid you can’t since wp core excerpt remove header tag like h1, h2.. when echoing excerpt. you could add custom field subtitle like this. add to child functions.php

    function meso_add_sub_meta() {
    global $post;
    $post_subtitle = get_post_meta($post->ID,'post_subtitle',true);
    if( $post_subtitle ) {
    echo '<strong>'. $post_subtitle . '</strong>';
    }
    }
    add_action('bp_after_feat_meta','meso_add_sub_meta');

    use edit post->custom field add key ‘post_subtitle’ without the quote and enter your value ‘Aus Grau wird Bunt’ without quote.

    Thread Starter saschawalk

    (@saschawalk)

    Thanks for that great support. Your solution is working fine.
    Now I’m working on the style.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘First Subtitle on home’ is closed to new replies.