markyeoj
Forum Replies Created
-
Hello,
I’m glad that there is a pro version that supports unlimited custom fields, but I have question, is there a custom field for uploading a video?
Forum: Plugins
In reply to: [WP Post to PDF Enhanced] Customizing OutputThank you for reply, here’s what I am trying to do.
A 3 pages PDF, I want to divide the post’s contents into 3 pages like for example the featured image will be the first page. The main content in 2nd page, and the custom fields’ data in the 3rd page.Thank you for the quick response, I already solved my problem..
<?php $queried_object = get_queried_object(); $taxonomy = $queried_object->taxonomy; $term_id = $queried_object->term_id; $subheading = get_field('sub_heading', $taxonomy . '_' . $term_id);?> <span class="sub_heading"><?php echo $subheading; ?></span>
Thanks,
Forum: Plugins
In reply to: [Testimonials Widget] No Pagination<?php echo do_shortcode('[testimonialswidget_list]');?>
That’s the code.
Forum: Plugins
In reply to: [Secure Custom Fields] Condition if field is blankdone — I used this code
<?php if (get_field('cook_time') && get_field('cook_time') != "") { ?> <div class="left recipe-detail"> <h5 class="semibold">Cook Time</h5> <?php the_field('cook_time'); ?> </div>
Forum: Plugins
In reply to: [WordPress Popular Posts] Not working, Sorry Sorry. No data so farYes, all of those post IDs are belong to pages only.
Forum: Plugins
In reply to: [WordPress Popular Posts] Not working, Sorry Sorry. No data so farI have wp_head() and also I have the permission in the database.. here
I tried to change the value of the post type from my custom post type to ‘page’ and it works. Only the custom post type and post are not working.
Forum: Fixing WordPress
In reply to: Display Taxonomy In Post Type Archivedone, I used this code
$terms = get_the_terms( $post->ID , 'recipecategory' ); foreach ( $terms as $term ) { echo $term->name . ", "; }
Forum: Plugins
In reply to: [Custom Post Type UI] archive-post-type-name not workingThanks, I finally figured out the problem, on the registration code..
I saw this'rewrite' => array('slug' => ''),
so I replaced that with
'rewrite' => array('slug' => 'recipe'),
And I thought the
archive-{post-type.php}
will display the list of post from a particular taxonomy, with a little research, I found out that it will only display the list of post from my custom post type, so what I did, I created ataxonomy-{taxonomy-name.php}
to display the list of post of a particular taxonomy and I also createdsingle-{post-type.php}
to display single post of my custom post type.And that’s it.. now its working ??
Forum: Plugins
In reply to: [Custom Post Type UI] Cannot display the categories under my custom taxonomyOuch, this is very embarrassing.. why i didn’t think of that? Thanks @michael.. great relief.
Forum: Plugins
In reply to: [Categories Images] List the Custom Taxonomy with with imageYes even without using your plugin. this is very frustrating, I hope the support of Custom Post Type UI can help me to fix this.
Forum: Plugins
In reply to: [Categories Images] List the Custom Taxonomy with with imageyes.. I already changed that.. looks like the problem is with the custom post type UI plugin.. even I use a simple
<?php $taxonomy = 'recipecategory'; $tax_terms = get_terms($taxonomy); ?> <ul> <?php foreach ($tax_terms as $tax_term) { echo '<li>' . '<a href="' . esc_attr(get_term_link($tax_term, $taxonomy)) . '" title="' . sprintf( __( "View all posts in %s" ), $tax_term->name ) . '" ' . '>' . $tax_term->name.'</a></li>'; } ?> </ul>
still not working.
Forum: Plugins
In reply to: [Categories Images] List the Custom Taxonomy with with imageouch. haha.. sorry, I copied the wrong code..
here’s the code from my template..
<div id="recipe-category" class="rolls"> Recipe Category <ul> ?<?php foreach (get_terms('recipecategory') as $cat) : ?> ?<li> <img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /> <a href="<?php echo get_term_link($cat->slug, 'your_taxonomy'); ?>"><?php echo $cat->name; ?></a> </li> <?php endforeach; ?> </ul> </div>
Forum: Plugins
In reply to: [Categories Images] List the Custom Taxonomy with with imageI used this code.. but did not work,
<div id="recipe-category" class="rolls"> Recipe Category <ul> ?<?php foreach (get_terms('your_taxonomy') as $cat) : ?> ?<li> ?<img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /> ?<a href="<?php echo get_term_link($cat->slug, 'your_taxonomy'); ?>"><?php echo $cat->name; ?></a> ?</li> ?<?php endforeach; ?> </ul> </div>
here’s the image
Forum: Fixing WordPress
In reply to: do shortcode not workingSorry, its JWPlayer Plugin, actually the shortcode is working on the post/page editor
[jwplayer config=”Out-of-the-Box” file=”https://s3.amazonaws.com/Kick_Fills_Previews/Kick+Fills+-+Linear+Pattern+-5..mp4″ image=”https://www.mywebsite.com/myimage.jpg”%5D
i don’t know what’s going on.. and I tried your suggestion but also not working..
[No bumping, thank you.]