Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #819084

    Hi guys,

    Right now under the post title is: 17 April 2017 / in Energy and natural resources, Publications /

    I would like it to display as: 17 April 2017 > Energy and natural resources, Publications

    I want to change the separator from ‘/’ to ‘>’, remove ‘in’, and remove the last separator ‘/’

    Test page in private content

    #819118

    Hey FlatText,

    Check it here: https://kriesi.at/support/topic/change-breadcrumb-separator/#post-311753

    Best regards,
    John Torvik

    #819123

    Hi John,

    This is for the breadcrumbs on top of the page. The value I want to change is the post date followed by the category. Please see the link in private. I don’t want to change the breadcrumbs separator. I want to change the separator in the Date > Post > Category > Author

    #819124

    To clarify, I’ve added an image showing where I want the change. Added in private

    #819789

    Hi,

    Thank you for the update.

    Please add the following script in the functions.php file.

    function ava_custom_script_mod(){
    ?>
    <script type="text/javascript">
    (function($){
    	$('.single .text-sep').text('>');
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod');

    Best regards,
    Ismael

    #819841

    Thanks, Ismael. That worked, but I’d like to remove the ‘in’ and also the last ‘>’. It points to empty space. Image attached in private.

    #819930

    Hi,

    Try adding this css code in Quick CSS (located in Enfold > General Styling):

    .single .text-sep.text-sep-cat {
        display: none;
    }

    As for the ‘in’, please edit includes/loop-index.php in the enfold theme folder and find this line of code:

    echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";

    replace it with:

    echo '<span class="blog-categories minor-meta">';

    Hope this helps ;)

    Best regards,
    Nikko

    #819934

    Brilliant! Thank you, Nikko!

    #819940

    Hi,

    Great! Let us know here in the forums if you need more help.

    Best regards,
    Sarah

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Change '/' after post date, remove 'in' and remove last '/'’ is closed to new replies.