Astra: Remove single navigation of custom post type


function your_prefix_next_prev_links( $status ) {
	if ( 'your-post-type-slug' == get_post_type() ) {
		$status = false;
	return $status;

add_filter( 'astra_single_post_navigation_enabled', 'your_prefix_next_prev_links' );


.single-servicio .nav-links a {
    display: none;

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

Scroll al inicio

We are using cookies on our website

Please confirm, if you accept our tracking cookies. You can also decline the tracking, so you can continue to visit our website without any data sent to third party services.