kennkelly
Forum Replies Created
-
Forum: Plugins
In reply to: [Schema] Schema data for recipes?Thanks – the challenge is I already have a recipe custom layout I created using custom fields I just need to get the meta data on the page. If I used your premium plugin (which looks great) I’d have duplicate content on my page.
Forum: Plugins
In reply to: [WordPress Landing Pages] Not Equally Distributing Visitors Among VariationsIt is hosted through WP Engine and yes its a high traffic site so it has caching, here is their public statement on WPE caching.
Next is our EverCache system. Again this is part of our “secret sauce,” so we can’t divulge everything. But, what we can say is that we run the most sophisticated caching system in the world, which we’re able to do because we support only WordPress. This makes common pages (like home pages and feeds) load in 30ms (not including the time to make it all the way to the end user’s browser), protects the back-end system from most traffic and specific traffic from popular plug-ins and 3rd-party services, and yet is tied back into your WordPress system (via our system plugin) so that when the cache needs to be refreshed (e.g. post is updated) we refresh immediately so there’s never stale data. There’s also a lot of special logic protecting your database from various bots and spiders, which for larger sites can represent 50% of the site’s traffic.
Forum: Fixing WordPress
In reply to: Different Page Layout based on Category of Custom Post TypeMarking as resolved.
Forum: Fixing WordPress
In reply to: Different Page Layout based on Category of Custom Post TypeWe were close but that wasn’t quite it. Per my comments I was fairly certain it was a a custom taxonomy for the custom post type.
I needed to use
is_object_in_term($post->ID,$taxonomy,$terms)
Where the correct $taxonomy value was “portfolio_categories” and $terms value was the slug of the category. I was able to connect with a friend and ultimately the code below resolved the issue.
<?php if ( is_object_in_term( $post->ID, 'portfolio_categories', 'superfoods') ) : ?> <h2>Super Food Elements</h2> <p><?php the_field('superfood-elements'); ?></p> <?php else : ?> <h2>Recipe Cooking Instructions</h2> <p><?php the_field('cooking-instructions'); ?></p> <?php endif; ?>
Appreciate your help in the process.
Forum: Fixing WordPress
In reply to: Different Page Layout based on Category of Custom Post TypeSo it does appear that I am inside the loop based on your first statement. Only difference in my loop there was a : between the ) and while. In any case I also ran the print_r function you posted but the only thing it spit out on the page was
Array ( )
Also before posting this thread I tried both sets of code I posted in this thread using the SuperFoods name “Superfoods”, slug “superfoods” and id “7” but none seem to pull it.
I am thinking that if it was the standard category set my category superfoods and the rest of them in the portfolio section would also show up in my posts categories correct? I was hoping that print_r would would but it didnt for me. Maybe I placed it in the wrong file or place in the file, I just placed it inside the loop on the page template file.
Also going back to your first recommendation
<?php in_category( 'Superfoods') ?>
How I placed it in the if statement in my second reply is correct right?
If so I am thinking I am not calling the custom category correctly. Assuming I can find that what would be the correct full php if else statement for a custom category?
Forum: Fixing WordPress
In reply to: Different Page Layout based on Category of Custom Post TypeIm not in a loop, this is for a single post page template. If a unique category is checked (superfoods) I would like to slightly modify the page layout and outputs.
Because the categories in my custom post type are unique to the categories in my post categories I believe they are unique and I think that is my problem its trying to pull regular categories, how do I pull the custom category. I originally tried the following below which has the in_category but it still didnt work.
<div class="single-portfolio-element row-fluid" > <?php if (in_category('Superfoods')) : ?> <h2>Superfood Instructions</h2> <p><?php the_field('superfood-instructions'); ?></p> <?php else : ?> <h2>Recipe Cooking Instructions</h2> <p><?php the_field('cooking-instructions'); ?></p> <?php endif; ?> </div>
Forum: Plugins
In reply to: eShop Not Sending Admin EmailsHi Elfin, we implemented that php and it still isn’t working. I am just curious as to why we cannot just have the plugin send an email to the admin email everytime an order is made? I have seen this issue on quite a few other threads as well.
Forum: Plugins
In reply to: eShop Not Sending Admin EmailsI do receive every other email for other plugins as well as WP core functionality like new comments. The orderes are listed as “active” but no email is sent to notify me.
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Eshop not sending an email to adminI am having the same problem and have read many different forums about this topic but none seem to get the issue resolved.
I have checked my spam bin, changed the email address and still no luck.
The cart is live and not in test mode, Paypal is the only gateway I have set up. I do receive the money in paypal and Paypal sends an automatic email letting me know that the order was placed. Also in WP I do received email notifications for ALL other site activity for WP and other plugins.
I simply want to receive an email from EShop with all the details of the purchase so I can send that to our fulfillment people to process and ship the order. Currently I am not getting anything from Eshop.
I am assuming that the email that should be receiving the auto email from eshop is settings/eshop/business details
Please let me know how I can receive an auto email as the seller and how I can modify that template to be sure I get all the details from the order.