have been playing with Cubepoints (wordpress plugin) and have installed the ranks module but can't work out how I would add the persons ranks to the top user widget. I have ranks displaying in the authors profile but can't figure out what the shortcode would be and what I'd have to put in hooks file, anyone know?
On a related note I want to link to the authors profile page from the top user widget, but can't seem to find anything in the shortcode about this. Must be possible as I have seen blogs using this plugin doing so.
In the text field of the widget write:
%username%%points%
This is for Buddypress. If you are using WordPress without this plugin, write this
%username%
Related
Here is what I am trying to do - a website with online courses using WooCommerce and Elementor. I want to have a page called "My Courses" where customers can see only the courses they've purchased.
I'm not using any LMS.
I will use the plugin Dynamic Conditions for Elementor to show or hide a widget.
I know that WooCommerce has a function to check if a user has bought a specific product.
I don't know how to make a connection between the two, though. That is my problem.
Dynamic Conditions uses Elementor's dynamic tags system to check against. How can I use the WC's function to check if the user bought the product and only if he/she did, then to show them the widget with the course page?
Thanks a lot for any answers with ideas or directions on how to solve this problem!
Using Dynamic.ooo you can benefit from "Visibility" extention (comes with Dynamic.ooo/ don't need seperate plugin installation) which allows you write your customized conditions (in PHP). I myself have not used the "Custom Condition" becuase I don't know much about PHP, but if you know the function and just need to connect them i think that'll do.
I'm quite new to Wordpress and currently working on a custom plugin.
I know how to create a new admin menu point via plugin, now I'm trying to figure out how to add a functionality, when entering the site the user shall be able to specify the number of shown posts via input field - the amount of posts shall be saved in a way that you receive a shortcode for the amount.
Hope that was clear. Thanks in advance!
I know there are a lot of Wordpress php codesnippets and shortcuts to use, but I'm uncertain which the ones are I need.
well I am trying to make authors page, Profiles of each person and I need short codes to be in the authors code but the documentation says it should be in
http://your site.com/profile/demo for user “demo”
how would I use the shortcodes to get data in authors.php?
I need to make a Wordpress website having lots of recipes.User will be allowed to read and click on "Cooked" button associated with that particular Article. I would like to store who all user have Cooked that recipe and show it when I am showing the Recipe.
Is there any plugin available which can store User Activities on content(like we have comments plugin) or else what should be the best way to do this?
Take a look at WP Favorite Posts plugin which allows visitors to add favorite posts.
and set the label as "Cooked" instead of "add to favorites" , this will be the easiest way to do it but if you are up for some custom coding then it's simply a matter of saving the recipe post id in the user meta using update_user_meta
I'm attempting to port a Wordpress widget plugin to a Blogger gadget, and finding them extremely different worlds. What the WP widget does is:
In the admin interface (provided by the widget object's form() method), it displays a list of the posts in the blog for the blog owner to select from, saving this as a widget setting.
In the widget display (provided by the widget object's widget() method), it displays some content linked to the post that was selected.
This seems to be bizarrely difficult behavior to replicate in a Google Gadget. The questions I wind up having are:
As far as I can tell, Blogger barely has a concept of an admin interface, and certainly none that would manage widgets. It seems like I need to deploy admin and user functionality through the same gadget display; am I correct about this?
I can get at a list of blog posts easily enough, but how in the world do I create a setting that's global to the widget instance instead of specific to the user viewing it? I get the vague impression that that may be possible through OpenSocial in some way, but damned if I can figure out how.
Have you already checked the links: https://developers.google.com/blogger/docs/gadgets/gadgets_for_blogger and https://developers.google.com/gadgets/docs/basic ?
They should have enough info for the item no 1.
Please note: With recent addition of dynamic views it seems like you need to hack stuff in order to make your gadget work when dynamic views are enabled (see this article). Perhaps they'll improve that in the future but the last blogger gadget announcement related to dynamic views was in feb 2012 dynamic-views-update-3-gadgets.
For the item no 2, I am not sure either. Maybe they'll add that in the future.