WORDPRESS - Oxygen - toolset

Disable Astra Theme Next/previous Post link

Author: Aleš Sýkora, 11. 7. 2019

If you do not like the next/previous post links on bottom of astra post layout, use this in Tooset ' s custom code settings:

Astra Theme Next/Previous Post Link
Astra Theme Next/Previous Post Link
<?php
/**
 * New custom code snippet (replace this with snippet description).
 */

toolset_snippet_security_check() or die( 'Direct access is not allowed' );

// Put the code of your snippet below this comment.

add_filter('astra_single_post_navigation_enabled', '__return_false');

Add this to Toolset > Settings > Custom Code. Do not forget to activate the snippet after saving. Also check only front end to run this snippet.

Custom Code snippet added to Toolset
Toolset Settings Custom Snippets