Not skipping pages despite adding filter
-
Hi. I saw the instructions on another post for skipping this for pages. I put it in my theme’s
functions.php
file but there has been no effect. Copying the function below:function dfi_posttype_page ( $dfi_id, $post_id ) { if ( is_page($post_id) ) { return 0; //invalid ID } return $dfi_id; // the original featured image id } add_filter( ‘dfi_thumbnail_id’, ‘dfi_posttype_page’, 10, 2 );
Any assistance would be most appreciated. I’m on the Hueman theme.
Wishing this plugin would let us toggle on or off for pages, posts, custom post types etc from the settings. Otherwise it’s a very useful plugin; big thanks to the developer.
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Not skipping pages despite adding filter’ is closed to new replies.