noski2009
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2] How to display a select dropdownHi Michael,
Thank you for your help. I will try what you suggested.
- This reply was modified 3 years, 5 months ago by noski2009.
Forum: Plugins
In reply to: [Display Featured Image for Genesis] Archive Intro Text IssueThat’s OK, thank you for seeing to it and for the fast response.
Forum: Plugins
In reply to: [CMB2] Date field get only month and yearBummer, me neither.
Forum: Plugins
In reply to: [CMB2] Date field get only month and year@angelo Rocha did you get this to work?
I’m trying to get “DD, d MM, yy” but having the same issue with the database only storing dd/mm/yy?Forum: Plugins
In reply to: CMB2 with oembed fields in repeatable groupsSo, to answer my own question.
In the functions/backend code I made a mistake with this line:
'id' => $prefix . 'media_embed',
In a repeater field it should be:
'id' => 'media_embed',
and for the front end this:
<?php $value = get_post_meta( get_the_ID(), 'media_embed', true ); echo wp_oembed_get( $value ); ?>
Was changed to:
<?php echo wp_oembed_get ($value['media_embed']); ?>
And that did the trick!
Forum: Themes and Templates
In reply to: [theme: jointswp] pagination not workingDid you ever get this to work?
Forum: Fixing WordPress
In reply to: How to get a list of older postsThanks vtxyzzy,
I did find a very nice plugin (Special Recent Posts) but it doesn’t quite layout the posts in css that well, so yup looks like I’m going to have to do it the hard way. Mulitiple Loops here I come…
Forum: Fixing WordPress
In reply to: Add category name to postThanks will do.
Forum: Fixing WordPress
In reply to: Add category name to postAlso it would be handy if it posted a link to the archive of that particular category
Forum: Fixing WordPress
In reply to: Add category name to postYea it did that and then some, which is quite anoying as I only need the one class.
Forum: Fixing WordPress
In reply to: Add category name to postI see waht you mean I’ve found this which adds the categories id, I prsume that would be better?
function category_id_class($classes) { global $post; foreach((get_the_category($post->ID)) as $category) $classes [] = 'cat-' . $category->cat_ID . '-id'; return $classes; } add_filter('post_class', 'category_id_class'); add_filter('body_class', 'category_id_class');
Forum: Fixing WordPress
In reply to: How to get pagination with more than one loop?Anybody?
Forum: Fixing WordPress
In reply to: How to get pagination with more than one loop?Forum: Fixing WordPress
In reply to: no-page menu itemJust what I was looking for nice one thanks!
Forum: Plugins
In reply to: ProjectManager multiple projects on one page?Does anyone use this plugin or did I not make myself clear?