-
AuthorPosts
-
July 11, 2017 at 4:58 am #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
July 11, 2017 at 7:03 am #819118Hey FlatText,
Check it here: https://kriesi.at/support/topic/change-breadcrumb-separator/#post-311753
Best regards,
John TorvikJuly 11, 2017 at 7:15 am #819123Hi 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
July 11, 2017 at 7:19 am #819124To clarify, I’ve added an image showing where I want the change. Added in private
July 12, 2017 at 5:39 am #819789Hi,
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,
IsmaelJuly 12, 2017 at 7:24 am #819841Thanks, Ismael. That worked, but I’d like to remove the ‘in’ and also the last ‘>’. It points to empty space. Image attached in private.
July 12, 2017 at 11:16 am #819930Hi,
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,
NikkoJuly 12, 2017 at 11:27 am #819934Brilliant! Thank you, Nikko!
July 12, 2017 at 11:58 am #819940Hi,
Great! Let us know here in the forums if you need more help.
Best regards,
Sarah -
AuthorPosts
- The topic ‘Change '/' after post date, remove 'in' and remove last '/'’ is closed to new replies.
