Forum Replies Created
Viewing 6 posts - 1 through 6 (of 6 total)
This works:
function exclude_wpdmpro_type() {
global $wp_post_types;
if ( post_type_exists( 'wpdmpro' ) ) {
// exclude from search results
$wp_post_types['wpdmpro']->exclude_from_search = true;
}
}
Just make sure to double check your single quotes because the WYSIWYG Editor sometimes converts them to real text quotes
This reply has been marked as private.
I apologize. The client would rather not share the login at this time. Is there some sort of troubleshooting I can do on my end? Thanks in advance.
This reply has been marked as private.
This reply has been marked as private.
Sorry I wasn’t clear. I’m linking to a PDF, but the system is returning the above HTML for some reason.
Viewing 6 posts - 1 through 6 (of 6 total)