Bas Matthee
Forum Replies Created
-
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] Data does not show, plz helpUse:
if (function_exists('get_terms_meta')) { $metaValue = get_terms_meta($category_id, 'addthis', true); } echo $metaValue;Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] How to show meta values ?This is explained in the installation tab on the plugin page.
Easiest way:
// Put this code in your template if (function_exists('get_all_terms_meta')) { $metaList = get_all_terms_meta($category_id); }This will retrieve all meta values of the category in the $metaList array;
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] Ajax is Not WorkingThere is an updated version to be found here: https://github.com/BasMatthee/Taxonomy-meta-fields-plugin-for-Wordpress
I am currently rebuilding the whole plugin. As soon as I finish, I’ll update the version hosted here.
Forum: Plugins
In reply to: [LSD Google Maps Embedder] show error…Hi Ramon,
What map type are you trying to embed? Do you have an example of the code that you see inside the WP Editor?
Thanks in advance!
Forum: Reviews
In reply to: [LSD Custom taxonomy and category meta] Great for any categories organisationWould be a good thing if it gets included in the WordPress Core.
Thanks!
Forum: Reviews
In reply to: [LSD Custom taxonomy and category meta] simple and good pluginNice! Thank you!
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] "Array" instead of real valueGlad you like it!
You’re welcome!
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] "Array" instead of real valueDoes it work when you try to echo $metaValue[0] in stead of $metaValue?
If not, could you maybe put the following code before the
echo $metaValue;line and tell me what you see on your screen?echo '<pre>'; print_r($metaValue); echo '</pre>';Forum: Plugins
In reply to: [LSD Google Maps Embedder] editor button doesn't appear in wysiwygHet is ook de hele plugin. Maar heb je’m dan wel geactiveerd na uploaden?
Forum: Plugins
In reply to: [LSD Google Maps Embedder] editor button doesn't appear in wysiwygHoe bedoel je, hij komt niet terug? Hij overschrijft de oude plugin. Als deze nog is ingeschakeld zou het wel goed moeten gaan..
Forum: Plugins
In reply to: [LSD Google Maps Embedder] editor button doesn't appear in wysiwygHeb je FTP toegang tot de server? Middels FTP zou je de plugin-bestanden moeten uploaden in de /wp-content/plugins/ map.
Dus:
– Inloggen op e FTP
– Bestanden uitpakken
– Bestanden uploaden in de hierboven genoemde mapForum: Plugins
In reply to: [LSD Google Maps Embedder] editor button doesn't appear in wysiwygYes. Het is de bedoeling dat je de plugin-bestanden vervangt met de inhoud van het zip-bestandje. Het is de plugin met wat aanpassingen. Als die naar behoren werkt, kan ik de officiele plugin vervangen met de nieuwe versie die jij nu test. 😉
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] Display in Custom POst template?Try:
echo $metaValue[0];BTW. Does $category_id contain the category_id (or term_id/taxonomy_id) or is it empty? You really NEED the category_id.
Forum: Plugins
In reply to: [LSD Custom taxonomy and category meta] Display image filed in theme ?Hi Strikerux,
If the $category_id variable contains the correct ID, and ‘catimage’ is the exact name of the field, then $metaValue should be an array with the image.
The array would look something like this:
Array ( [0] => http://www.example.com/path/to/your/image.jpg )So if you would like to display the image, you would have to use $metaValue[0], which contains the image. You should add the <img> tag around it do display the image as image in stead of a plain URL.
Simplified example:
<img src="<?php echo $metaValue[0]; ?>"/>Forum: Plugins
In reply to: [LSD Google Maps Embedder] editor button doesn't appear in wysiwygHoi Jacqueline,
Als je niet meer in het dashboard kwam, is er meer niet goed gegaan. Die regel vervangen moet geen dergelijke impact hebben. Ik heb ‘m even voor je klaargezet met wijziging te vinden hierrrr: http://www.bas-matthee.nl/wordpress-plugins/lsd-google-maps-embedder-bugfix-jacqueline.rar
Deze versie zou het moeten doen. Echter wil ik daar natuurlijk wel even een bevestiging van, voor ik het officieel doorvoer in een nieuwe versie. 🙂