RandallFlagg
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP-Cron running too much killing CPU of serverYesteday I turn the wp cron on, server CPU went berserk. Today I turn it off again.
https://img820.imageshack.us/img820/3883/cronwp.jpgWHY this keeps happening? How can I see what the heck is killing my site?
Forum: Fixing WordPress
In reply to: Changing post-type names and don't kill SEOActually, thats a good option, but not possible for me.
I’m using the awesome and mega customizable theme MADE and in this case I don’t control that part, since it have lots of stuff going on there.This is the theme I’m talking about: https://themeforest.net/item/made-responsive-reviewmagazine-theme/2557495
Forum: Fixing WordPress
In reply to: Changing post-type names and don't kill SEOSorry, I never thanked you for this!
Works like a charm! =)Sorry, I feel kinda lost with the documentation =(
The `yarpp_related(array(
‘post_type’ => array(‘product’)
));`
I put in the theme (in this case, sidebar?)As far as I get, I gotta declare the
yarpp_related
somewhere… dunno where.Here you can see what I’m saying
https://www.dropbox.com/s/32xcoa6i4llwf8i/yarpp-example1.jpg
And here
https://www.dropbox.com/s/vn08mh8wxlheqqg/yarpp-example2.jpgIt’s like Yarpp it’s not considering the post_type “product”
Yes! (to all)
It’s like it’s not seeing my custom post type.(Actually is the MarketPress plugin that uses the Custom Post Type…)
Maybe you can try this by installing the plugin!
No. I guess the plugin should also work when I’m on the post_type write new post, right?
Nothing there. Is like is not registering the post type =(
And it’s getting no result of matches ??Forum: Fixing WordPress
In reply to: Get category from a custom postHope this can help someone!
I’m closing this post!
Forum: Fixing WordPress
In reply to: Get category from a custom postWohooo!!thanks, this was most helpfull!
$args = array( 'numberposts' => 4, 'orderby' => 'post_date', 'post_type' => 'product', //my type of post 'taxonomy' => 'product_category', //the regular categories for post_types 'product_category' => 'destacado', //The name of the regular category 'post_status' => 'publish' ); $destacados = get_posts( $args ); foreach( $destacados as $post ) : //... My post information here endforeach;
With this I solved my problem! ??
Forum: Fixing WordPress
In reply to: Get category from a custom postcool! I’ll be looking at it!
Forum: Fixing WordPress
In reply to: Get category from a custom postNo, this is part of the header and shows only posts of this category.
It’s a section for “important” products.Forum: Fixing WordPress
In reply to: Get category from a custom postNope. Not a thing.
I looked in the wordpress admin page and got this in the URL for the category:
wordpress/wp-admin/edit-tags.php?action=edit&taxonomy=product_category&tag_ID=41&post_type=product
So I tried adding the taxonomy as well. But nothing.
This category that I want to use ONLY belong to the ‘product’ post_type, not to the regular posts!
Forum: Fixing WordPress
In reply to: Get category from a custom postSorry, my query was
query_posts( 'post_type=product&posts_per_page=3&cat=41' );
The one I posted first was an attemp to make it work.