Jones

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Executive back arrow missing in responsive slider #27111

    Jones
    Participant
    Post count: 4

    Thanks 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.


    Jones
    Participant
    Post count: 4

    I 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

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