Pixelbart
Forum Replies Created
-
Since I am not a web designer, I can only show you an example using a PHP script. There you can see how to output several entries with a WP_Query and the Helpful Shortcode. In my example you can see how to assign your own Helpful Heading and Post ID directly in a Post Loop.
Hopefully this will help you a little. I would also be happy to help you with your own examples.
Example: https://gist.github.com/pixelbart/31474e452d8f533f20887ba3523b59a8
The default shortcode arguments can also be found here: https://helpful-plugin.info/documentation/shortcodes/
I will think about it for the next few days and come up with a solution. Thank you for your feedback!
Forum: Plugins
In reply to: [Helpful] not saveHello @mizfa,
you have installed a caching plugin and your javascript is summarized. Maybe this is the reason.
Javascript should not be summarized because it often causes problems. Helpful doesn’t like that either.
Thank you very much for your feedback!
Forum: Reviews
In reply to: [Broken Link Checker] Unfortunately not runningThanks for your feedback, I’ll try it out the days.
When everything is running again, I will of course give 5 stars again.
Thanks again!
Forum: Plugins
In reply to: [Helpful] Feedback from Logged-in UsersThanks for your feedback!
That’s a good idea… I’ll build it in soon, but it will take a while!
Forum: Reviews
In reply to: [Helpful] Great and easy and simple pluginThank you very much.
I try my best! 🙂
Forum: Plugins
In reply to: [Helpful] Regarding using it with ElementorThat’s right. Helpful works the same way, but it’s better to disable it so it doesn’t get shown twice.
Forum: Plugins
In reply to: [Helpful] Regarding using it with ElementorYou don’t have to wait. I have uploaded the latest development version. You can download the development version with the Helpful Elementor Block here:
https://downloads.wordpress.org/plugin/helpful.zip
Again, Helpful should only be visible once on the respective page or it must run within a query or loop (like in an archive or single).
If you use this version, you will also receive future updates. So you don’t have to worry about that. You can download older or previous versions here:
https://wordpress.org/plugins/helpful/advanced/
You can use the shortcode on single pages, but you need to activate the post type in the helpful settings. After that, helpful will automatically placed after the post content. There you must disable this in the helpful settings.
Forum: Plugins
In reply to: [Helpful] Regarding using it with ElementorHi @bapun26,
as long as the shortcode is placed within a page or post, Helpful works.
I want to add my own Elementor block for Helpful in the future, but this will take a while.
Thanks for your feedback!
Forum: Plugins
In reply to: [Helpful] Hide creditsHello @7kontinente,
there is no premium version. The function should work like this. I have looked at your page, I see nothing. You may have to empty the browser cache.
Otherwise you can also help out with CSS:
.helpful-footer { display: none !important; }But CSS is not really necessary! There will also never be a premium version! 🙂
Thanks for your feedback!
-Kevin
Forum: Plugins
In reply to: [Helpful] URL Stats not visibleGood idea, actually thought I’d put in a default number. I will pack into the next update.
Thanks for your feedback!
Forum: Plugins
In reply to: [Helpful] FacetWP Sort By?$args = [ 'posts_per_page' => -1, 'meta_query' => [], 'fields' => 'ids', 'meta_key' => 'helpful-pro', 'orderby' => 'meta_value_num', 'order' => 'DESC', ]; $query = new WP_Query( $args ); if ( $query->found_posts ) { printf( '<strong>%s</strong><br>', esc_html__( 'Pro:' ) ); foreach ( $query->posts as $post_id ) : printf( '%s: %d<br>', get_the_title( $post_id ), (int) get_post_meta( $post_id, 'helpful-pro', true ) ); endforeach; }$args = [ 'posts_per_page' => -1, 'meta_query' => [], 'fields' => 'ids', 'meta_key' => 'helpful-contra', 'orderby' => 'meta_value_num', 'order' => 'DESC', ]; $query = new WP_Query( $args ); if ( $query->found_posts ) { printf( '<strong>%s</strong><br>', esc_html__( 'Contra:' ) ); foreach ( $query->posts as $post_id ) : printf( '%s: %d<br>', get_the_title( $post_id ), (int) get_post_meta( $post_id, 'helpful-contra', true ) ); endforeach; }I’ve already tested the code on myself. All you have to do is insert the post_type as argument and change the order accordingly (ASC/DESC).
Forum: Plugins
In reply to: [Helpful] FacetWP Sort By?Hi @bekee,
I’ve added extra helpers so that you can output the values with the help of post_id.
Here is the link to Github, with the corresponding functions: https://github.com/pixelbart/helpful/blob/master/core/values.php
// get pro for single post helpful_get_pro( $post_id = null ); // get contra for single post helpful_get_contra( $post_id = null );Helpful also stores something in the meta fields, but not everything. Helpful’s meta fields are updated every time the overview pages are called in wp-admin.
// get pro for single post get_post_meta( $post_id, 'helpful-pro', true); // get contra for single post get_post_meta( $post_id, 'helpful-contra', true);Hopefully that could help you a little.
Forum: Plugins
In reply to: [Helpful] Hide Helpful on certain PagesShould work with the latest version (4.0.23). So just look into the Metabox. At the bottom is a new option.
Forum: Plugins
In reply to: [Helpful] Hide Helpful on certain PagesUnfortunately this is not possible at the moment, but I will add an option. I just don’t know yet when I can do it.
Thanks for your feedback!