ericleonardo
Forum Replies Created
-
Forum: Plugins
In reply to: [GD Rating System] Not Showing on Archive pages (visible for just 1 sec)You’re right! I just got to fix it!
The sidebar was being modified by some Ajax script to load store name.
So, I just renamed the Div ID/Class then my Ajax can’t find it nor modify.
Store name is now loaded by PHP and GDRS stars are not affected anymore.Thank you very much for helping and being patient.
Now everything is working!God bless!
Best regards!Forum: Plugins
In reply to: [GD Rating System] Not Showing on Archive pages (visible for just 1 sec)Now I’m using the code you suggested and deleted the other codes.
I put it on the main PHP file (before, it was on sidebar include PHP).
But stars are still being hidden after 1 second on page load.The code works perfectly on post pages:
https://hotsale.com.br/oferta/fnac/processador-de-alimentos-pro-line/But not on archive pages:
https://hotsale.com.br/lojas/fnac/?offer_store=1164What JS error on my page do think may be related to this?
That Store page starts with code:
<?php /* Template Name: Search Page */ get_header(); the_post(); $permalink = couponxxl_get_permalink_by_tpl( 'page-tpl_search2' ); global $couponxxl_slugs; include( couponxxl_load_path( 'includes/search-args.php' ) ); $offers_per_page = couponxxl_get_option( 'offers_per_page' ); ?>
Forum: Plugins
In reply to: [GD Rating System] Not Showing on Archive pages (visible for just 1 sec)Yes, it is a post type.
ThanksForum: Plugins
In reply to: [GD Rating System] Not Showing on Archive pages (visible for just 1 sec)Hello! Thank you for helping…
I want to rate the “store”, not its products.
“Store” is a custom post type, and $offer_store is really the store ID.
What function do you recommend to rate a custom post “offer” which ID is “$offer_store”?
Will that work at any place (page, archives, post) I use it if I pass the right ID?
The functions I tried worked in post, but stars become hidden in archive page.<?php gdrts_posts_render_rating(array('echo' => true, 'name' => 'store', 'id' => $offer_store)); ?>
<?php gdrts_render_rating(array('echo' => true, 'entity' => 'post', 'name' => 'store', 'id' => $offer_store));?>
Generated script on page (but stars disapears after 1 second on this archive page):
https://hotsale.com.br/lojas/fnac/?offer_store=1164<script class="gdrts-rating-data" type="application/json">{"args":{"echo":true,"entity":"posts","name":"store","item_id":null,"id":1164,"method":"stars-rating","series":null,"disable_dynamic_load":false,"dynamic":true},"method":{"disable_rating":false,"allow_super_admin":true,"allow_user_roles":["administrator","editor","author","contributor","subscriber","customer","shop_manager","translator"],"allow_visitor":true,"allow_author":true,"template":"default","alignment":"center","responsive":true,"distribution":"normalized","rating":"average","style_type":"font","style_name":"star","style_size":25,"font_color_empty":"#dddddd","font_color_current":"#ffff00","font_color_active":"#ff3f05","style_class":"","labels":["Poor","Bad","Good","Great","Excellent"]}}</script>
- This reply was modified 6 years, 6 months ago by ericleonardo.
- This reply was modified 6 years, 6 months ago by ericleonardo.
Forum: Plugins
In reply to: [Instagram Media Plugin] Fatal Error when activatingFatal error: Uncaught Error: Call to undefined function site_ur() in /home/hotsale/public_html/wp-content/plugins/shop-link-instagram/Instagram-media-feed.php:313 Stack trace: #0 /home/hotsale/public_html/wp-includes/class-wp-hook.php(286): Instagram_Shop_Link->activatePlugin(”) #1 /home/hotsale/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/hotsale/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/hotsale/public_html/wp-admin/plugins.php(174): do_action(‘activate_shop-l…’) #4 {main} thrown in /home/hotsale/public_html/wp-content/plugins/shop-link-instagram/Instagram-media-feed.php on line 313
Fatal error: Uncaught Error: Call to undefined function site_ur() in /home/hotsale/public_html/wp-content/plugins/shop-link-instagram/Instagram-media-feed.php:313 Stack trace: #0 /home/hotsale/public_html/wp-includes/class-wp-hook.php(286): Instagram_Shop_Link->activatePlugin(”) #1 /home/hotsale/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array) #2 /home/hotsale/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/hotsale/public_html/wp-admin/plugins.php(174): do_action(‘activate_shop-l…’) #4 {main} thrown in /home/hotsale/public_html/wp-content/plugins/shop-link-instagram/Instagram-media-feed.php on line 313
Please, will Direct Upload to Google Cloud Storage work with WP-All Import?
Is there a way to use Direct Upload feature for free?
I just want to upload to Storage, no optimizing/resizing/whatever.Thanks!
Forum: Themes and Templates
In reply to: [Pinnacle] How Can Submenu Itens Expand in Columns?Oh, I use Pinnacle free.