Gustavo Viegas
Forum Replies Created
-
Forum: Plugins
In reply to: [YOP Poll] Unable to change the order of my answersI’m also having the same problem …. I bought the pro version to 3 weeks
Forum: Plugins
In reply to: [Advanced Image Sitemap] Size original fileMy mistake! It’s working perfectly!
The error was in my template file — taxonomy- [ my- type] … agora IS ok ..! The plug -in IS ok , Not An error has occurred .
First I want to thank this great plugin! I have this same problem ….
in version 1.2.7 in the version 1.2.8 … website: https://celularaqui.com.br/celulares/
Sorry … actually is working..! i wanted to put in an explicit location in the subject ( would not start the formatting <div class=”tptn_counter” ) … added direct on the theme:
<?php
$id = intval( $post->ID );
$nonce_action = ‘tptn-nonce-‘ . $id ;
$nonce = wp_create_nonce( $nonce_action ); ?>
<span class=”views”><i class=”fa fa-eye”></i> <script type=”text/javascript” data-cfasync=”false” src=”<?php echo home_url(‘/’);?>?top_ten_id=<?php echo $id;?>&view_counter=1&_wpnonce=<?php echo $nonce;?>”></script>
</span>Working perfectly! Thanks for the great plugin!
I realized contradictory in parts … Can you give a practical example of how to put on single.php file for example?
What about time?
You can set?
One more question: How do I show the count?
Just i think implode is unnecessary ?…
Inserting the list of ids not in an array returns an error. ‘post__in’ => $posts,
$posts is a string. post__in accepts an array.
So instead of $posts could use ‘post__in’ => $ topposts skipping the $posts = implode (‘,’, $ topposts); all together …
For me it worked perfect that way!
And for those who need a specific custom_post set in array post_type => ‘my-post-custom’ …
Here’s how it was:
if ( function_exists( 'get_tptn_pop_posts' ) ) { $topposts = get_tptn_pop_posts(); // Array of posts $topposts = wp_list_pluck( $topposts, 'postnumber' ); $args = array( 'post__in' => $topposts, 'posts_per_page' => 5, 'ignore_sticky_posts' => 1, 'orderby' => 'post__in', 'post_type' => 'aps-products' ); $my_query = new WP_Query( $args ); if ( $my_query->have_posts() ) { while ( $my_query->have_posts() ) { $my_query->the_post(); echo '<a href="' . get_permalink( get_the_ID() ) . '">'; the_title(); echo '</a>'; wp_reset_postdata(); } } else { } wp_reset_query(); }
Then just customize to taste and pull the necessary post_meta!!
Once you have him on my personal site, I will leave here the link for those who want to be inspired …
One more question: How do I show the count?
Thanks for the support, I left a review 5 stars for this great plugin !!
Thank you for your quick reply!
I could not understand:
if ($ topposts) {
// Implode the posts and set a varible to pass to our exclude stop.
$posts = implode (“,” $features);
}What arguments, just i have to put in $features variable?
and how to sort the result by $orderby = “sumCount DESC” ?
I would like to make a more practical example?
It will be really cool if I can, is a nice example!
Forum: Plugins
In reply to: [Booking.com Official Search Box] Testing the plug-in?I believe my searchbox is not working properly …
I see other sites that have searchbox, clicking on search, the URL is something similar to:
https://www.booking.com/searchresults.html?aid=xxxxx&error_url=http ….
X = number ID
and in my case goes well
That’s right ??
The searchbox through the widget is different?
Forum: Plugins
In reply to: [Compare List for WooCommerce] Very good plugin!Yes to agree …
But just imagine … you never know what the most compared by users … never know what the latest comparisons by users … and will have to make numerous comparisons …. imagine the niche as mobile … there are numerous possible between the various models of cell comparisons …. do this manually would be impossible …
But like I said your plugin is already amazing as it has no equal! The features of the shortcode is great! But it would be amazing suggestions that spoke …
Forum: Plugins
In reply to: [Compare List for WooCommerce] Very good plugin!Hello Eugene,
Great job, it was a breakthrough!
My weights:
Had no difference in performance, or excessive queries to the database, even because you developed the widget based on cookies. For performance that’s good, now just clear your browser cache and empty widget.
My humilte opinion:
The advancement in which I refer would be to develop a way that all comparisons of users stay on saving custom post. So could for instance configure the WordPress SEO plugin, specific titles and descriptions for products compared, eg:
Title: Galaxy Galaxy S3 vs S5
Description: See a comparison between the Galaxy S5 vs the Galaxy S3, learn what are the main differences.This would be saved in a custom post, so he would enter the sitemap WordPress SEO. Yes it would certainly result in a great SEO.
The site will have “content” generated automatically based on the comparison of users.
When a user make a comparison that does not yet exist in the custom post, he would save. If there is already comparing the user is requesting, simply redeem the custom post this comparison …
I know it’s more complex, but I believe within your level development is possible … that would be a machine to generate traffic …
Suffice for the administrator to insert the product, and wait for the comparisons of the users … like this:
Forum: Plugins
In reply to: [Compare List for WooCommerce] Very good plugin!thanks for the feedback! It really is a plugin and so much .. I have several websites and one of them I will talk about WordPress (plugins, themes)’ll be making a positive review of the plugin.
Hug.
I’m from Brazil, sorry my english.