rmegliorino

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
Apr 26, 2016 at 3:29 pm
#44462
Member
rmegliorino
OP

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

Feb 13, 2016 at 12:13 pm
#40865
Member
rmegliorino
OP
This reply has been marked as private.
Feb 12, 2016 at 11:33 pm
#40846
Member
rmegliorino
OP

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.

Feb 12, 2016 at 12:45 pm
#40790
Member
rmegliorino
OP
This reply has been marked as private.
Feb 11, 2016 at 7:35 pm
#40746
Member
rmegliorino
OP
This reply has been marked as private.
Feb 9, 2016 at 10:07 pm
#40676
Member
rmegliorino
OP

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)