WebberZone
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] CRP Related Posts for AMP PluginDoes this give you the desired output and effect?
Should it be the case of filtering get_permalink to make it universal in that case?
Forum: Plugins
In reply to: [Contextual Related Posts] How to Remove Bullets on Rounded Thumbnail StyleYou’re welcome!
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Size of thumbnail in widget doesn't takeI’ve fixed this bug in the Github repo and will form a part of the next release.
Forum: Plugins
In reply to: [Contextual Related Posts] Related posts based on other fieldI don’t know the language, but I can see the lack of relation. Are the posts better without the extra piece of code?
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Counter By DateIf all goes as planned in the next release. However, I don’t have a time frame for this yet.
Forum: Plugins
In reply to: [Contextual Related Posts] Exclude SubcategoriesOn all my installs, this pulls in every sub-category as well. Could you please do a clean deinstall and reinstall of the plugin.
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Counter By DateThis is one of the things on my list of things to add to the plugin.
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Thumbnail size editYou can change this in the Settings page under Thumbnail
Forum: Plugins
In reply to: [WebberZone Top 10 — Popular Posts] Limit the list to specific categoryYou might need to use a custom installation using the plugin API
https://gist.github.com/ajaydsouza/c8defd4b46e53240e376
Mix this with WP_Query to pick the category you want
Forum: Plugins
In reply to: [Contextual Related Posts] Related posts based on other fieldIt would prioritise the three keywords, but it would never be able to return only those since it doesn’t match exactly but approximately.
What PHP error did you get?
Forum: Plugins
In reply to: [Contextual Related Posts] How to Remove Bullets on Rounded Thumbnail StyleIt is the theme since it adds this to the li:
background-image: url('images/postbullets.png');You can try to set this:
.crp_related ul li { background-image: none !important; }Forum: Plugins
In reply to: [Contextual Related Posts] Related posts based on other fieldCan you get into the meta tables in there which has _yoast_wpseo_focuskw.
You should find the meta_key and meta_value entries in there.
The part of the code might be something like this:
function crp_bsearch_posts_where( $where ) { global $wpdb, $post; $string = WPSEO_Meta::get_value( 'focuskw', $post->ID ); return $where . " AND ( $wpdb->postmeta.meta_key = '_yoast_wpseo_focuskw' AND $wpdb->postmeta.meta_value = {$string} ) "; } add_filter( 'crp_posts_where', 'filter_crp_posts_where' );You’re welcome.
Forum: Plugins
In reply to: [Contextual Related Posts] Fetch Custom Related Posts via PHPThe best option is to use the API.
https://gist.github.com/ajaydsouza/968b24a052e858bf8926
You’ll need to do an
array_mergewith the post IDs you want with the$postsvariableForum: Plugins
In reply to: [Contextual Related Posts] How to Remove Bullets on Rounded Thumbnail StyleThere shouldn’t be bulletes in the rounded thumbnail style. What’s your site URL?
You might need to force the !important
.crp_related ul { list-style: none !important; }