Forums
(@michaelstevens2000)
4 years ago
managed to do it in .php
if( $current_post->ID == $post->ID){ return ;}
put that line after
if ( ! defined( ‘ABSPATH’ ) ) { exit; // Exit if accessed directly }
in templates –> [“your template”] –> [“Your design”]