ReHo20
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Translations not being loaded for mu-plugin and themeHi bcworkz.
Thanks for your quick response. I indeed meant the
$l10n
global. The slugname for the mu-plugin only contains an-
and for the theme it’s not containing any special characters at all. And both$textdomain
do match the slug of the theme/mu-plugin they belong to. And I later found out that the mu-plugin.mo
file also loads from the general language directory correctly (and visibly changes the texts). So the big question is still why the MO-files in the language directory of the theme and mu-plugin themselves are loaded into the $l10n global correctly. But doesn’t visibly change the texts.I am using a slightly different directory structure for WordPress (Bedrock). Though I don’t think that it is causing the issue.
Forum: Plugins
In reply to: [Contact Form 7] Change css inputfield if it is not filled inI meant the Validation Error message (like ‘Please fill the required field.’) when an inputfield isn’t filled in by the user. Currently CF7 only supports floating and static versions of it:
https://contactform7.com/customizing-validation-error-messages/
Only I would like to change the color of the inputfield that hasn’t been filled in instead of a static or floating message.
Forum: Hacks
In reply to: Counting how often a term of a taxonomy has been used.I’ve solved it! Using the ‘get_term()’ Jerry suggested as a starting point I came across this answer:
https://wordpress.stackexchange.com/questions/33455/taxonomy-count-per-post-type
Because with ‘get_term()’ itself I couldn’t specify the count on the desired post-type. Which in my case are the company and school I mention above.
Forum: Plugins
In reply to: [Simple Category Icons] Multiple tags at a single postAt the moment I am doing it like this:
<div id="post-tags"> <div id="inner-post-tags"> <div id="tags-title">Tags:</div> <div id="tags-lineup"> <a href="<?php the_permalink(); ?>"><?php the_icon('size=small','post_tag'); ?></a> </div> <?php the_tags('Tags: ', ', ', '<br />'); ?> </div> </div>
I’ve added the ‘the_tags’ from WordPress itself too, but that does shows up all the posttags on the same location. I have no idea how to solve this manually.