flix8918
Forum Replies Created
-
Forum: Plugins
In reply to: [Theme My Login] not compatible with search function of my themeHello Jeff:
in the plugin in the file class-theme-my-login.php
protected function load() {
$this->load_instance();
\add_action( ‘pre_get_posts’, array( &$this, ‘pre_get_posts’ ) );and
/**
* Exclude TML pages from search
*
* @since 6.1.13
* @access public
*/
public function pre_get_posts( &$query ) {the conflict is that it is restricting all search functions,
when i disable the pre_get_posts in the first paragraph above it does allow the search function but also it allows the public search to show private pages “if you search admin it will show the back-end admin page” even when the user is logged out.
how can i disable the protection for posts only but also have the private pages be secure and not show in search results please.
thank you
Forum: Plugins
In reply to: [Theme My Login] not compatible with search function of my themei understand, thank you for your help and time, you have a great plugin.
Forum: Plugins
In reply to: [Theme My Login] not compatible with search function of my themeI have disabled all the plugins one by one and Theme My Login does conflict with the search function, can i please remove the search function from Theme My Login and if so how do i do that.
is there anything i can do so TML does not conflict with the search function of my theme please.
thank you.