page-title-php help needed in Minimum theme

Community Forums Forums Design Tips and Tricks page-title-php help needed in Minimum theme

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  kwikkopydc 11 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38378

    Schreckgespenster
    Participant
    Post count: 65

    This is the code from the page_title.php in the minimum Theme

    }

    elseif ( is_singular( ‘page’ ) ) {
    echo ‘<div id=”page-title”><div class=”wrap”><p>’ . esc_html( get_bloginfo( ‘description’ ) ) . ‘<a class=”page-title-button” href=”http://mydomain.de/kontaktformular/”>’ . __( ‘Kontakt’, ‘minimum’ ) . ‘</a></p></div></div>’;
    }

    I got seven Pages with all different names. I want to show these names in the description and not the bloginfo description. How can I change the code in the php? Do you have any ideas? Thanks a lot.

    #39202

    kwikkopydc
    Participant
    Post count: 4

    You’ll need to add some code in page-title.php above the elseif(is_singular(‘page’)) lines you quote above. You’ll need to know the page IDs in question to do this properly. Here is a link to a thread which discusses this further: http://www.studiopress.com/forums/topic/help-with-minimum-2-0-theme-page-title-php/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.