Gaurav Padia
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problem with woocommerce on oceanwpOh sorry I thought you have problem in admin but I have not checked your site link.
Sorry for confusion. Please ignore my previous suggestions.
I think you will need to setup oceanwp theme completely and also install the store demo. You can install store demo from Theme Panel -> Install Demos and select “Store” demo to continue with installation. It may take while to install so please be patient.
I hope this helps.
Thanks.
Forum: Fixing WordPress
In reply to: Problem with woocommerce on oceanwpHi,
I just installed oceanwp theme and woocommerce with my local setup. It seems to be working fine when I add new product.
So I think issue must be with some other plugin you have installed but not with theme or woocommerce. Please try to deactivate suspected plugin and check.
I hope this helps.
Thanks.
Hello @nick_byrd,
Sorry my suggestions didn’t solved your issue.
Now I think there may be issue with one of the image in your media library but it is difficult to find when you have large number of images. Like for example see this site link which is using same twentyfifteen theme – https://willowpraise.org/pastors-page/follow-up-letter-58/ you can see same as your error. Now click next image link at top and you will see image without any error. The error is only for one image on above link. So I believe this is the same thing for you too.
I think you would need some professional to inspect your website and solve the issue. If you want me to hire then you can directly contact me amplebrain[a]gmail.com
Thanks.
@nick_byrd Thanks ??
@nick_byrd, you can go with “PHP 5.6” which is default standard. Thanks.
Hello @nick_byrd,
I got your email notification regarding plugin listing but not sure why I can’t see your reply right now. No problem, it is okay as I have email notification.
Actually when I checked further I believe the issue might not be due to plugins but because of your site may be running on PHP 7.1. The issue is with the wordpress function theme using and due to some PHP version 7.1 it returns empty string and generating an error. Here are the links where I saw it, like for example Advanced Ads plugin you are using they have applied fix https://plugins.trac.www.ads-software.com/changeset/1600191 for it but it is limited to their plugin only. The other link is where I saw it due to PHP 7.1 is https://github.com/jchristopher/attachments/issues/173. So we have to update code theme manually so that it doesn’t create an error or you can ask your host to downgrade the PHP version for your site.
I suggest to ask host to downgrade the PHP version to PHP 5, but of course please confirm with them first that your site is running on PHP 7.
I hope this helps.
Thanks.
Forum: Developing with WordPress
In reply to: Pagination not working on WordPress search templateHello @cdbrosnan,
I noticed the results on search page https://famtravsticky1.staging.wpengine.com/?s=beach is not wrapped in div with id “ajax-load”. If you wrap the div with class “card-grid” with
<div id="ajax-load"></div>
then it should work.Just compare the html using browser inspect element of results update area of both the links you will notice search page don’t have any div with “ajax-load” and so it is generating javascript error. You can see errors to in browser console.
I hope this helps.
Thanks.
Hello @nick_byrd,
Actually “$metadata” variable is expected to be an array but due to some reason it is receives string value and so when theme access it $metadata[‘width’] it generates an Illegal string offset error.
I think this can be due to one of the plugins related to attachment or images. Can you please disable such plugins and check ? If possible list plugins here you are using to find out which it can be.
I hope this helps.
Thanks.
- This reply was modified 7 years, 8 months ago by Gaurav Padia.
Forum: Developing with WordPress
In reply to: Archive page for CPT tags with rewrite URLHello @gwenad,
Yes, there is no archive for tags itself. Even in your code “register_taxonomy” you have added an argument “has_archive” but there is no such argument https://codex.www.ads-software.com/Function_Reference/register_taxonomy. “has_arhive” is for “register_post_type”
Do you know why “films/tags” URL page is not showing ? That is because you have registered slug “films” for movie_category taxonomy so wordpress actually looks for category named “tags” in database which is not present and you are seeing 404 page.
But that doesn’t mean it is impossible. You have to learn URL rewriting with wordpress. https://codex.www.ads-software.com/Rewrite_API/add_rewrite_rule
Like to show page on “films/tags” use this code and change the page_id=185 to your page id:
function wpd_page_rewrite(){ add_rewrite_rule( '^films/tags/?$', 'index.php?page_id=185', 'top' ); } add_action( 'init', 'wpd_page_rewrite' );
After adding you have to flush rewrite urls using function “flush_rewrite_rules” https://codex.www.ads-software.com/Function_Reference/flush_rewrite_rules
As soon as rewrite rules are updated you will see your page for tags. So I think you will need to apply rewrite rules to work as you want.
I hope this helps.
Thanks.
- This reply was modified 7 years, 8 months ago by Gaurav Padia.
- This reply was modified 7 years, 8 months ago by Gaurav Padia.
Forum: Developing with WordPress
In reply to: Archive page for CPT tags with rewrite URLHello @gwenad,
With custom taxonomy it doesn’t work like that. I mean it will not list all taxonomy terms on a URL films/tags. WordPress doesn’t make taxonomy terms listing URL by default like custom post type. For custom post type “films” slug will list all movies but with custom taxonomy “films/tags” will not list all tags because wordpress doesn’t do it automatically.
If you want to list all taxonomy you may need to create a custom page template and in that you have to code it with
get_terms('movie_tag', array('hide_empty' => false));
https://developer.www.ads-software.com/reference/functions/get_terms/I hope this helps.
Thanks.
Forum: Plugins
In reply to: [Content Egg] Getting Amazon product description in autobloggingOh I see. Any idea how I can generate the content for the amazon module for autoblogging ? In amazon module the item (Product card) template shows the features of the product how I can show in post content as description ? I tried like %Amazon.extra.itemAttributes.Feature% but it doesn’t work.
Any help would be greatly appreciated.
Thanks.
Forum: Reviews
In reply to: [Page Transition] Almost perfectHi @pixelmort,
Thanks for the review.
Due to some circumstances we were able to update the plugin for last few months but we are still on to it. We will provide an update in coming months with more features.
Thanks again.
Forum: Fixing WordPress
In reply to: Want thumbnail slider carouselHi,
I think plugin called “Numix Post Touch Slider” may be helpful to you but it is not free.
See demo at https://numixtech.com/plugins/numix-post-touch-slider/