teamcanada613
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Field for post Backgroundsi had removed the $bgcolor line and the echo of $bgcolor and replaced it with <?php echo get_post_meta($post->ID,’custom-field-name’,true) ?> and it works great.
incase anyone needs to know how to fix something like this
Forum: Fixing WordPress
In reply to: Custom Field for post Backgroundsany ideas?
Forum: Fixing WordPress
In reply to: Add image into widgetThanks for your reply ??
Forum: Fixing WordPress
In reply to: Custom post type testimonial carousel helpbecause i am interested in the ability of manipulating it in any way i want, design wise, without using someone else’s plugin, so that i may further my abilities and understand wordpress much better i guess, anyways just wondering if someone has any ideas? or know where to look for such a thing
Forum: Fixing WordPress
In reply to: Remove Category and Tags from Custom Post typeanyone have any ideas of how to make the custom Term project_category i have show up as changeable in the all porjects page of my custom post type where it can be changed and viewed there along with the main editing page?
Forum: Fixing WordPress
In reply to: Remove Category and Tags from Custom Post typeso i realised how to remove them from the list:
just remove the taxonomy part
'taxonomies' => array( 'category', 'post_tag' ),
part from my functions page, now i want to add my product_category custom taxonomy term into the page where you would see title and author and date and everything with post list
Forum: Fixing WordPress
In reply to: Display Custom Taxonomy Category on PageThanks a lot pal, issue was resolved, i appreciate it, are you able to help me locate a page that can inform me on how to disable the main categories throughout the site from my custom post types?
Forum: Fixing WordPress
In reply to: Custom Post Type helpthanks a ton for your help and your time =)
Forum: Fixing WordPress
In reply to: Custom Post Type helpthe solution for category was this
$categories = get_the_category(); if ( ! empty( $categories ) ) { echo esc_html( $categories[0]->name ); }
Forum: Fixing WordPress
In reply to: Custom Post Type helpthat was it, i was trying it with the_ so now it works also
the_category(‘, ‘);
still is a link, do u know to how to stop that?
Forum: Fixing WordPress
In reply to: Custom Post Type helpno, thank you!
the change in the
the_category();
was perfect.
Just wondering, do you know the function to obtain the link of each post to add into the loop?
cant figure it out still searching for it, i found the featured image part i was looking for =)
Forum: Fixing WordPress
In reply to: Custom Post Type helpthank you for your help,
i broke it down to this
<?php $args = array( 'post_type' => 'project', 'post_status' => 'publish', 'posts_per_page' => 3 ); $loop = new WP_Query( $args ); while ( $loop->have_posts() ) : $loop->the_post(); the_title(); the_category(); endwhile; ?>
i dont want the category to be a link, and also i want to know how to make a link out of each post