This topic has 3 replies, 2 voices, and was last updated 9 years by Model.

  • Author
  • #26120
     Model
    Participant

    Hi:

    How can I replace the breadcrumb with static text.

    #26155
     Catalin
    Moderator

    Hello,

    Add this code in your functions.php file from your child theme:

    COPY CODE
    
    
    function kleo_show_breadcrumb()
    {
        if (sq_option('breadcrumb_status') == 1)
        {
            if(!is_page_template('page-templates/front-page.php')) { ?>
                <!-- BREADCRUMBS SECTION
                ================================================ -->
                <section>
                    <div id="breadcrumbs-wrapp">
                        <div class="row">
                            <div class="nine columns">
                                <?php echo "<p style="margin-top: 15px;">CUSTOM TEXT YOU WANT TO ADD</p>' ?>
    
                            </div>
    
                            <?php do_action('kleo_after_breadcrumb'); ?>
    
    
    
                        </div><!--end row-->
                    </div><!--end breadcrumbs-wrapp-->
                </section>
                <!--END BREADCRUMBS SECTION-->
            <?php
            }
        }
    }
    
    
    

    replace “CUSTOM TEXT YOU WANT TO ADD” with whatever you want.

    Let me know if this works.

    Thank you,
    Catalin

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #26736
     Model
    Participant

    Awesome thank you so much!

    #26744
     Model
    Participant

    Resolved

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

The topic ‘Breadcrumb Replace with Static Text’ is closed to new replies.

Log in with your credentials

Forgot your details?