Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • hi Ben,

    I installed the child theme, and inserted this

    function my_tracks_excerpt_read_more_link($output) {
    global $post;
    return $output . “<p>” . __(‘[More]’, ‘tracks’) . “<span class=’screen-reader-text’>” . get_the_title() . “</span></p>”;
    }
    add_filter(‘the_excerpt’, ‘my_tracks_excerpt_read_more_link’, 999);
    remove_filter(‘the_excerpt’, ‘ct_tracks_excerpt_read_more_link’);

    and got “white” screen” , edited that out via cpanel file manager, and it’s ok now, but how can i get that function to work on the child theme, php file?

    I know how to change the php file in the parent tracks theme, and that works fine, but i think i’d better use the child theme to protect from future updates.

    Thread Starter hnrocket

    (@hnrocket)

    I figured it out thanks!

    it was in menu.php that I had to comment out the wrapper

    and your menu has been a huge blessing, I can now check off another “to do” on my pre-launch list!

    Thread Starter hnrocket

    (@hnrocket)

    thanks Tom,

    Here’s my header.php, I can’t see much of anything resembling the “‘wp_nav_menu”

    ————————————-

    <!DOCTYPE html>

    <!–[if IE 9 ]><html class=”ie9″ <?php language_attributes(); ?>> <![endif]–>
    <!–[if (gt IE 9)|!(IE)]><!–><html <?php language_attributes(); ?>><!–<![endif]–>

    <head>

    <?php wp_head(); ?>

    </head>

    <body id=”<?php print get_stylesheet(); ?>” <?php body_class(‘ct-body’); ?>>

    <div id=”overflow-container” class=”overflow-container”>
    <?php _e(‘Skip to content’, ‘tracks’); ?>
    <header id=”site-header” class=”site-header” role=”banner”>

    <?php

    $social_icon_setting = get_theme_mod(‘social_icons_display_setting’);

    if( ( has_nav_menu( ‘secondary’ ) ) || // if secondary menu is set, or…
    ( get_theme_mod(‘search_input_setting’) == ‘show’ ) || // if search bar is on, or…
    ( $social_icon_setting == ‘header-footer’ || $social_icon_setting == ‘header’ ) ) : // default is ‘no’, so if it is equal header & footer, or header display it

    echo “<div class=’top-navigation’>”;

    echo “<div class=’container’>”;

    // add secondary menu if set
    get_template_part( ‘menu’, ‘secondary’ );

    // add search input if set
    if(get_theme_mod(‘search_input_setting’) == ‘show’){
    get_search_form();
    }
    // display social icons if set
    if( (get_theme_mod(‘social_icons_display_setting’) == ‘header-footer’) || (get_theme_mod(‘social_icons_display_setting’) == ‘header’)){
    get_template_part(‘content/social-icons’);
    }

    echo “</div>”;

    echo “</div>”;
    endif; ?>
    <div class=”container”>

    <div id=”title-info” class=”title-info”>
    <?php get_template_part(‘logo’) ?>
    </div>

    <?php get_template_part( ‘menu’, ‘primary’ ); // adds the primary menu ?>
    </div><!– .container –>
    </header>
    <div id=”main” class=”main” role=”main”>

    Thread Starter hnrocket

    (@hnrocket)

    hi, your plugin worked, beautifully, but since I chose another theme which already had responsive menu, I didn’t need a solution.

    thanks.!

    Thread Starter hnrocket

    (@hnrocket)

    hi I didn’t sort it, I had to use another theme, a much better solution.

    Thread Starter hnrocket

    (@hnrocket)

    that did it, thanks again Chris.

    Thread Starter hnrocket

    (@hnrocket)

    is there anyway to change the color of the company link to orange?

    the custom CSS i use makes links light blue for all pages, but I only want to change the company link in my testimonial page

    text = orange
    hover over text = light orange

    Thread Starter hnrocket

    (@hnrocket)

    not at all, I’m very grateful for your work Chris!

    thank you, it worked beautifully

    Thread Starter hnrocket

    (@hnrocket)

    hi Chris,

    Thanks for the quick response,

    here’s what i have on my testimonial page

    [wpmtst-text field=”job_title” class=”job-title”]
    [wpmtst-all]

    [wpmtst-form]

    but the job_title field still doesn’t appear on lower right corner for each testimonial any ideas?

    https://falconbykes.com/testimonials/

    Thread Starter hnrocket

    (@hnrocket)

    Sorry this is more clear

    title = black
    testimonial text = black
    name (appears on bottom right) = black
    company link (appears on bottom right) = black

    custom field called job title = I need it to appear on bottom right + black font

Viewing 10 replies - 1 through 10 (of 10 total)