Filter: swifty_auto_page_titles

Modified on: 2016-06-14 15:15:08 +0200

Swifty Site Designer has an option for turning the auto showing of page titles off. If this option is turned on page titles will not be shown on normal pages (and thus gining the webmaster the freedom to do page titles inside the content themselves).

By applying this filter you can override this setting and force pages to either show or hide the title automatically.

add_filter( swifty_auto_page_titles,  my_swifty_auto_page_titles, 10, 2 );

function my_swifty_auto_page_titles( $auto_page_titles, $page_id ) {
    if ( … ) {
         return show;
    return $auto_page_titles;

Was dit antwoord nuttig? Ja Nee

Hoe kunnen we dit artikel verbeteren?