thomask
Forum Replies Created
-
if you would do this as i wrote it, it would actualy REPLACE the author as it is the same parameter as in current url, so your example would work.
IMO if a user first filter by category (or do search, or other filter) and then click an author, he wants to filter by both. If not, he can simply clear the first filter.
another option would be to add both, e.g. something like [Tomas Kapler][+], and clicking the plus would add it to query and clicking just a name would replace it. It could be shown this way only when there is some param (other then posttype) in current query, so it would not confuse ordinary users.Great. Not sure, how did you do it, so just one quick idea – you should use add_query_arg like
echo '<a href="'.add_query_arg( array('author' => $author->ID) ).'">'.$author->name.'</a>';This way it would work even with any other parameters, so e.g. i could do search and then filter found posts by author.
P.S.: I know that you probably know this π
wow, i have never done it, but i did not, no more git virgin π
Forum: Plugins
In reply to: [Cimy User Extra Fields] [Plugin: Cimy User Extra Fields] Error noticeit is an error notice, so the plugin should not throw it and should be repaired.
Forum: Plugins
In reply to: [Co-Authors Plus] [Plugin: Co-Authors Plus] Error noticei know, but anyway, it should not throw an error. I repaired it easily with is_object condition, but it should be in the plugin for everyone
P.S.: anyway, thanks for the plugin, it is interesting.Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] worst plugin EVERI have been also using this plugin and i agree that it is the best plugin when considering just functions
But the problems with not properly uninstallation are simply too much for me. Every other plugin do not have such problems, all mentioned procedures could be done bu plugin uninstallation scriptI have found the error after few hours – it was because of APC installed on the system, which W3TC somehow initiated but did not clean it after uninstall, hopefully i got server admin near me who find it and reset it. Without this procedure i could even delete whole wordpress and database and the error stayed there.
So for creators – please take care of uninstallation – there are tons of people with similar problems with this plugin – try to search the internet.
i am not sure when it appeared, it may have been during some update etc. i will let you know when i will see it again. But anyway i think, that all such errors should be catched so they would not throw error notices.
1. ehm. do not edit others plugins as it will make them not-updatable
2. you are using XHTML 1.0 Transitional, actualy i do not know if it is possible to use microformats wΓth xhtml and what you have to do for it. I am using HTML5, where it perfectly validates. Try to google the errors with xhtml 1.0 transitional, sorry for not helping more.no, it is perfectly validate, as you can see on the validator link. Of course there may be other problems on your site – typicaly what is the html version of the page?? give here a link and i may look at it
yes, it will validate (see e.g. http://validator.w3.org/check?verbose=1&uri=http://www.money.cz/money-s3/vlastnosti-systemu/) and google recognise it as breadcrumb
you can insert it functions.php or plugin, it is up to you. I yould not put it to theme files, as you would have to put it to every theme file
and about the problem with social opengraph – you should add
<html version=”HTML+RDFa 1.0″>
soadd_filter ('language_attributes','mc_language_attributes'); function mc_language_attributes ($output) { $output .= ' version="HTML+RDFa 1.0"'; return $output; }it will probably still not validate with W3C validator as this is still experimental function, but it is valid (e.g. http://dhuny.com/188)
but it is questionable if this should be done, many people will probably dislike the another error notice in w3c validator
and solution for breacrumb:
add_filter ('wpseo_breadcrumb_output','mc_microdata_breadcrumb'); function mc_microdata_breadcrumb ($link_output) { $link_output = preg_replace(array('#<span xmlns:v="http://rdf.data-vocabulary.org/\#">#','#<span typeof="v:Breadcrumb"><a href="(.*?)" .*?'.'>(.*?)</a></span>#','#<span typeof="v:Breadcrumb">(.*?)</span>#','# property=".*?"#','#</span>$#'), array('','<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a href="$1" itemprop="url"><span itemprop="title">$2</span></a></span>','<span itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">$1</span></span>','',''), $link_output); return $link_output; }Just so you do not have to write to first point:
add_filter ('robots_txt','mc_add_sitemap_index'); function mc_add_sitemap_index($robots) { $robots .= "Sitemap: " . home_url( '/sitemap_index.xml' ); return $robots; }Forum: Plugins
In reply to: [Widget Logic Visual] [Plugin: Widget Logic Visual] tons of errorsthose are just error notices, generaly the program uses something like
echo $something;
without knowing, that $something exist, so it needs only something like if (isset($something)) echo $something.
Nothing critical, but for carefull developers as me, who are testing web with wp_debug = true, they appears, so i also home that there will be a fix (it is just 1 minute of work)Forum: Fixing WordPress
In reply to: Remove "The post … appeared first on …"this was added in wordpress SEO by Yoast plugin. Go to /wp-admin/admin.php?page=wpseo_rss