This is the oddest thing, plugin display on the wishlist page was working just fine last week, no edits just the shortcode as instructed so i have no idea what caused this. I have turned off plugins to see if a conflict but none found.
I have it on dev site right now so you can view the behavior
https://beforeudemo.uxmstudio.com/wishlist/view/
https://www.ads-software.com/plugins/yith-woocommerce-wishlist/
]]>Hi guys, it’s my first post right here since I’ve been following all discussions for a long time.
I got an issue I can’t manage with other user replies, so here is it:
I’m developing a website in which I use a single custom loop for “posts” and custom type “projects” and “publications”.
Under “posts” (that are regular WP posts) I got some categories and I have the need to restrict the number of items displayed by one of them.
here’s my starting loop code
<?php
$wp_query = new WP_Query(array( 'post_type' => array('project', 'post', 'publication'), 'showposts' =>-1));
if (have_posts()): while ( $wp_query->have_posts() ) : $wp_query->the_post();
?>
actually I’ve setted “showposts” to “-1” to display all posts of all types/categories.
what I need is to keep this single loop up and limiting the category ID “10” of post-type “posts” to “showposts =>5”.
Is that possible? Thank you so much for any kind of suggestion!
]]>We’re currently making our own WordPress Theme and its been too long ago to remember how the loop worked for the category page. We currently have this buggy category.php:
<?php
get_header();
if (have_posts()) : the_post(); update_post_caches($posts);
echo '<div class="fullwidth">'."\n";
echo '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr>'."\n";
echo '<td><h3>Posts in '. single_cat_title("", false) .'</h3></td>'."\n";
echo '</tr></table></div>'."\n";
echo '<div class="fullwidth">'."\n";
echo '<table border="0" cellpadding="3" cellspacing="0" width="100%"><tr>'."\n";
echo '<td class="normal"><b style="color: black">Title</b></td>'."\n";
echo '<td class="normal"><b style="color: black">By</b></td>'."\n";
echo '<td class="normal"><b style="color: black">Date</b></td>'."\n";
echo '</tr><tr>'."\n";
echo '<td class=normal>'. single_post_title('prefix', display) .'</td>'."\n";
echo '<td class=normal nowrap>'. the_author_link() .'</td>'."\n";
echo '<td class=normal nowrap>'. the_date() .''. the_time() .'</td>'."\n";
echo '</tr></table></div>'."\n";
else :
_e('Sorry, no posts matched your criteria.');
endif;
get_footer();
?>
But, it doesn’t display anything except this:
Now we know we’re its missing a loop. Any little example will be appreciated since we can’t find anything about it in the documentary.
Kind regards,
Twimia Media
I’d like to get rid of the breadcrumbs that appear on post pages (but not on the homepage)
I’m guessing this is a loop issue, but I’m not sure where to begin.
For what it’s worth I’m using the iNove 1.2.3 theme.
Examples of what I’m referring to.
https://406northlane.com/blog/?p=214
I’d like to get rid of the “home > commentary > etc.” ABOVE the post title…
Not sure what page I should be editing.
Thanks in advance.
]]>I’d like to get rid of the breadcrumbs that appear on post pages (but not on the homepage)
I’m guessing this is a loop issue, but I’m not sure where to begin.
For what it’s worth I’m using the iNove 1.2.3 theme.
Examples of what I’m referring to.
https://406northlane.com/blog/?p=214
I’d like to get rid of the “home > commentary > etc.” ABOVE the post title…
Not sure what page I should be editing.
Thanks in advance.
]]>