Flickreel
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Sitemap Priority Filter – Bug?In fact, it is possible to change any of these with filters. Here is the code for anyone who would like to see how:
add_filter( 'wpseo_xml_sitemap_post_priority', 'my_custom_post_xml_priority', 10, 3 ); function my_custom_post_xml_priority( $return, $type, $post) { if ($type == 'page') $return = 0.2; return $return; } add_filter( 'wpseo_sitemap_entry', 'my_custom_term_priority', 10, 3 ); function my_custom_term_priority( $url, $type, $term) { if ($type == 'term') { if($term->slug == 'news' || $term->slug == 'reviews' || $term->slug == 'trailers') { $url['pri'] = 0.8; $url['chf'] = 'daily'; } else if ($term->slug == 'previews' || $term->slug == 'features') { $url['pri'] = 0.8; } } if($type == 'user') { $url['pri'] = 0.4; $url['chf'] = 'weekly'; } return $url; }
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Nofollow LinksHonestly I think you might be being too cautious with your approach. They’re unlikely to be considered spammy if they’re pointing to legit accounts which are part of your brand – you’ll want Google, etc. to be more aware of the association if anything. Since removing the nofollow links it would appear that our social media accounts are displaying higher up in Google.
Forum: Plugins
In reply to: [Social Media Feather | social media sharing] Nofollow LinksHmm, for Share links this makes sense, but surely doesn’t make sense for Follow links as you want search engines to follow these and make the association?
I have added this line ‘rel’ => $context == ‘share’ ? ‘nofollow’ : null, to synved-social.php . So now on a page like https://www.flickreel.com/david-koepp-writing-indiana-jones-5/ – it’s only the share article links which have nofollow applied and not the follow links in the header…
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsTrue. But for my purposes it’s fine for now. I still think it would be nice to add as a plugin option though, particularly so that you could have user ratings being either whole numbers or with fractions.
Anyway it’s a great plugin and is now setup for my needs, so thank you for all of your hard work on it ??
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsIf anyone does want to do this, it is ridiculously easy as it turns out. All you need to do is go to this file in the plugin: yasr-metabox-overall-rating.php
and change data-rateit-step=”0.1″ to data-rateit-step=”1″
Of course you might also want to update various other references to 5.0 etc. too…
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] W3TC issuesSo I found a solution. Basically within my W3TC Minify configuration, I had to select Disable minify automatic file name length test, then set the filename length to 150. I guess that the filename being generated was too long or something when YASR was added…
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] W3TC issuesThanks Sean, yes I had a similar issue with another plugin a month or so ago and managed to fix that by changing the way that the plugin’s files were being included. I’ll see if it’s the same here and report back. But as you say, that’s a good solution if all else fails and must be happening for anyone running a minify plugin in addition.
Theo.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] W3TC issuesI managed to test remotely. Still no joy unfortunately: appears to conflict with W3TC so that the stylesheet gets a 404 error.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsYeah I suppose it’s not much difference. Would still be nice to give the option with the stars hover. It shouldn’t be too hard to restrict to whole numbers as an option. ??
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] W3TC issuesAh OK. I will give it a go this evening and let you know.
Thanks,
Theo.Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsWell it’s up to you, but it would be a nice option as quite a lot of ratings for reviews are done in whole stars – almost all film reviews in the UK are rated in whole stars out of 5 for example.
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] W3TC issuesI installed for the first time yesterday, so am assuming that is the version to which you are referring (I don’t have the file I download to hand right now)…
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsYes I saw that. But in terms of a nice way to manage ratings, it would be good to be able to simply hover and click whole stars as an option and should be easy to add…?
Forum: Plugins
In reply to: [YASR - Yet Another Star Rating Plugin for WordPress] Whole star ratingsI mean when you add ratings to posts on the edit post screen. You can hover over the stars, then you see 2.1, 2.2, 2.3 stars etc., however it would be nice to be able to only rate with whole stars, so when you hover over the stars, it’s 2 stars, 3 stars, etc.
Replace mail() function with wp_mail() function – all the parameters are the same.