artefactdesign
Forum Replies Created
-
Thanks for reply. So I guess if we map product price to Google shopping price, we will get regular price only, isnt’it?
Forum: Plugins
In reply to: [Contact Form 7] wpcf7_before_send_mail not workingFixed. Was using the above code into a template file. Moving to function.php file or a plugin is working
Forum: Plugins
In reply to: [My Favorites] Delete all linkUnfortunately it does not work.
Forum: Plugins
In reply to: [My Favorites] Delete all linkYeahh that is fixing the issue. What is the corresponding php version for this shortcode ? Is there a way to just get the number of favorite without a link which also will solve a above issue?
Forum: Plugins
In reply to: [My Favorites] Delete all linkHi,
I wish you a happy new year.
I have the same issue here https://webserv2.ovh/playground/cc-favorite/ with basic WP theme and no plugin
Greg
Forum: Plugins
In reply to: [My Favorites] Delete all linkThanks for your patience but I have the same issue with the above code
Forum: Plugins
In reply to: [My Favorites] Delete all linkYes the link is hidden despite some favorites posts
Forum: Plugins
In reply to: [My Favorites] Delete all linkfunction ccc_my_favorite_list_custom_template( $my_favorite_post_id_array=false ) { $args= array( 'post_type' => 'any', 'post__in' => $my_favorite_post_id_array, ); $the_query = new WP_Query($args); if( $the_query->have_posts() ) : ?> <div data-ccc_favorite-delete_all=true><a href="#" class="ccc-favorite-post-delete-button">Delete all</a></div> <div> <?php while( $the_query->have_posts() ) : $the_query->the_post(); ?> <div class=""> // favorite list code here
result into
<div id="ccc-my_favorite-list" data-ccc_my_favorites-list-style="none" data-ccc_my_favorite-posts_per_page="custom_template"> <div data-ccc_favorite-delete_all="true"> <a href="#" class="ccc-favorite-post-delete-button" style="display: none;">Delete all</a> </div> <div class=""> // favorite list code here
Forum: Plugins
In reply to: [My Favorites] Post link added automaticallyIt works fine if I put the ccc-favorite-post-toggle-button link outside but I confess not understanding how and why the plugin is added multiple instances of link if I nest it
Forum: Plugins
In reply to: [My Favorites] Post link added automatically<div> <a href="<?php the_permalink(); ?>"> <div> <div class="ccc-favorite-post-toggle"> <a href="#" class="ccc-favorite-post-toggle-button" data-post_id-ccc_favorite="<?php echo $the_query->post->ID; ?>"></a> </div> <div> <?php echo get_the_post_thumbnail( $post_id, 'large', array( 'class' => 'foo' ) ); ?> </div> <div><?= the_title(); ?></div> </div> </a> </div>
result in
<div> <a href="https://foo"></a> <div> <a href="https://foo"></a> <div class="ccc-favorite-post-toggle"> <a href="https://foo"></a> <a href="#" class="ccc-favorite-post-toggle-button save" data-post_id-ccc_favorite="1771"></a> </div> <div> <img width="" height="" src="bar" class="foo wp-post-image" alt="" loading="lazy" uk-cover="" uk-img="" srcset="https://bar" sizes="(max-width: 555px) 100vw, 555px" style="height: 220px; width: 350px;"> </div> <div>Title</div> </div> </div>
- This reply was modified 2 years, 11 months ago by artefactdesign.
Forum: Plugins
In reply to: [My Favorites] Delete all linkFor some reason I get
style="display: none;"
added to the above codeForum: Plugins
In reply to: [My Favorites] Post link added automaticallyActually on my end above
<a href="<?php echo $the_query->post->ID; ?>"> <div class="el-item"> <div class="ccc-favorite-post-toggle"> <a href="#" class="ccc-favorite-post-toggle-button" data-post_id-ccc_favorite="<?php //echo $the_query->post->ID; ?>"></a> </div> <div><?= the_title(); ?></div> ... </div> </div>
result to
<a href="link-to-post"></a> <div class="el-item"> <a href="link-to-post"></a> <div class="ccc-favorite-post-toggle> <a href="link-to-post"></a> <a href="#"></a> </div <div><?= the_title(); ?></div>
Unable to understand this
- This reply was modified 2 years, 11 months ago by artefactdesign.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Assign post author to created userWorks as it should, thanks again for your great job and amazing support
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Assign post author to created userHello,
Thanks for you quick answer. I follow your step by step and get well user and post created but no author is set for the new post.
Here is the screenshot https://imgur.com/a/0vTGTt6
Not sure this is related but I get Notice: Array to string conversion in wp-content/plugins/acf-extended/includes/modules/form/admin.php on line 2916
on form submitDo I miss something?
ACF version 5.8.9
ACFE version 0.8.5.5Thanks a lot
Greg- This reply was modified 4 years, 7 months ago by artefactdesign.
- This reply was modified 4 years, 7 months ago by artefactdesign.
Forum: Plugins
In reply to: [W3 Total Cache] Update issueThanks