Aleš Sýkora / November 28, 2023 / 4 comments
Disable Astra Theme Next/previous Post link
min read / WordPress / Share on: Twitter, LinkedIn, Facebook
Post summary: Disable Next/Previous Post in Astra Theme.
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](https://www.great-tit.com/wp-content/uploads/2023/11/astra-previous-next-post-links-1024x204.png)
<?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](https://www.great-tit.com/wp-content/uploads/2023/11/post-next-astra-1024x534.png)
Fuel my passion for writing with a beer🍺
Your support not only makes me drunk but also greatly motivates me to continue creating content that helps. Cheers to more discoveries and shared success. 🍻
vikz
What is this toolset? Is it some plugin?
hsn mohammed
CAN YOU MAKE CSS CODE PLS
Aleš Sýkora
Toolset is plugin like ACF for example. Toolset.com
Aleš Sýkora
I do, send me the URL.