Forum Replies Created
-
AuthorPosts
-
JonesMember
Put it in home top and make sure you didn't select a static page for the homepage. You can change this at: Administration > Settings > Reading
JonesMemberThanks for you help flamenco, that did fix the arrow but unfortunately it left the slider still broken. I found out that it conflicts with my visual composer plugin. Ill use another slider plugin as an easy fix, thanks for you help though.
February 7, 2013 at 5:56 am in reply to: MINIMUM Theme: Adding the post and page title to page-title.php #18625JonesMemberI managed to fix it myself, here is the solution @emke:
if ( is_home() ) {
echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
elseif ( is_404() ) {
echo '<div id="page-title"><div class="wrap"><p>' . __( 'Ooops!', 'minimum' ) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
elseif ( is_post_type_archive( 'portfolio' ) || is_singular( 'portfolio') ) {
echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Portfolio', 'minimum' ) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
elseif ( is_singular( 'page' ) ) {
echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_the_title($ID)) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
elseif ( is_singular( 'post' ) ) {
echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_the_title($ID)) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
elseif ( is_author() || is_category() || is_date() || is_search() || is_singular() || is_tag() ) {
echo '<div id="page-title"><div class="wrap"><p>' . __( 'From the Blog', 'minimum' ) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}
else {
echo '<div id="page-title"><div class="wrap"><p>' . esc_html( get_bloginfo( 'description' ) ) . '<a class="page-title-button" href="/contact">' . __( 'Neem direct contact op', 'minimum' ) . '</a></p></div></div>';
}This displays the page title at pages and posts. Its translated so dont mind the 'neem direct contact op'
let me know if this helped you
-
AuthorPosts