Navigation Next e Prev by category

Hi,
i see online that is possibile navigate the post by category using the function:

Text As Link, Without Post Title, Within Same Category

Displays custom text as link to the next post within the same category as the current post. Post title is not included here. “Next post in category” is the custom text, which can be changed to fit your requirements.
Next post in category

<?php next_post_link(’%link’, ‘Next post in category’, TRUE); ?>

but where i need change it? in theme? or core?

thanks

You should add your code inside theme folder - library - structure - content-extensions.php

More specifically look for travelify_next_previous_post_link function in that file.

its work!

this is the change:

			<ul class="default-wp-page clearfix">
				<li class="previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'travelify' ) . '</span> %title', TRUE ); ?></li>
				<li class="next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'travelify' ) . '</span>', TRUE ); ?></li>
			</ul>

Thank you for posting your solution on our forum! Hope that others will find it useful as well.

i hope its usefull for navigate PREV e NEXT post in the same category

I have exactly the same question for the dazzling template, in which file should I make this change?