Pranjal
Forum Replies Created
-
The error message is same “Plugin could not be activated because it triggered a fatal error”
Anyhow, the I had now hosted the image on my server. Please take a look over here https://www.nextaget.com/Capture.JPG
Yeah, I can see the error message here is the attached screenshot!
Hey, I am also interested to show full post instead of just post titles on favorite posts page.
Any help would be greatly appreciated1
Thanks ??
Forum: Plugins
In reply to: [Dynamic Widgets] [Plugin: Dynamic Widgets] Custom taxonomies not supported?Yeah! of course, hierarchical structuring is a plus but, why I am using taxonomies is because selecting categories is pretty much easier if you’re using them as the primary way to filter your posts. Suppose in case of mine, I need to classify a product within multiple formats like in case of tablets PCs, what’s the screen size? so i quickly check the appropriate variation from the already given size, without searching for the exact tag from the box. So, this way I add around 5-6 filter for a product like OS version, Brand, price range, features and storage capacity. And using custom taxonomies makes it easier with just see the appropriate value and check it.
While for the tags, it’s quiet time consuming for such classification of a product as I need to search again and again for exact tag values assigned for specific groups. And the worst thing about tags, is that by mistakenly you add a miss-spelled the exact classification term then WordPress creates additional tag, which is completely waste and you also need to delete it from the edit tag area. Hope I didn’t messed you much with my words but, this is why I am using Custom taxonomies over tags.
And yeah, I wish you should include the support for custom taxonomies in the future. ??
Forum: Plugins
In reply to: [Dynamic Widgets] [Plugin: Dynamic Widgets] Custom taxonomies not supported?Hi, thanks for your reply but do you’ve plans to include such support in the near future or in the upcoming update? ??
@jchbox Hi, I’ve found a solution to search within titles, here’s the code you need to enter into your theme’s functions.php file.
<?php /** * Search SQL filter for matching against post title only. */ function __search_by_title_only( $search, &$wp_query ) { global $wpdb; if ( empty( $search ) ) return $search; // skip processing - no search term in query $q = $wp_query->query_vars; $n = ! empty( $q['exact'] ) ? '' : '%'; $search = $searchand = ''; foreach ( (array) $q['search_terms'] as $term ) { $term = esc_sql( like_escape( $term ) ); $search .= "{$searchand}($wpdb->posts.post_title LIKE '{$n}{$term}{$n}')"; $searchand = ' AND '; } if ( ! empty( $search ) ) { $search = " AND ({$search}) "; if ( ! is_user_logged_in() ) $search .= " AND ($wpdb->posts.post_password = '') "; } return $search; } add_filter( 'posts_search', '__search_by_title_only', 500, 2 ); ?>
And let the Dave’s wonderful live search plugin turn on and see the results.
Forum: Plugins
In reply to: Plugin: WordPress SEO by Yoast with custom fields in the titlesOh let it be, I just figured it out myself, and it worked! ??
Forum: Plugins
In reply to: Plugin: WordPress SEO by Yoast with custom fields in the titlesHello, I am trying out
%%cf_<field name>%%
but it’s not working for me? I am using it like%%cf_<price>%%
and here price is the name of my custom field.Thanks!
@jchbox Hello, sadly friend I am still unable to figure out how to do so and waiting for reply from the developer. Did you find any success in search within the post titles?
Thanks
Forum: Plugins
In reply to: [WP-PageNavi] How to noindex pagenavi pagesThanks for the reply and yeah i posted the wrong page format. plus also knows this has nothing to do with pagenavi but i thought paginavi support forum will recognize my problem easily.
Thanks again