politadvokat
Forum Replies Created
-
Thank you! You are the best!
Forum: Plugins
In reply to: [Appointment Hour Booking - Booking Calendar] How to center everything?Excellent! But there is one little problem area remains:
code: https://prnt.sc/qguqqu
front-end: https://prnt.sc/qgur1a
How can I center that?
If I put the field size 50%, then the fields slide to the next row – which is not desirable.
Front-end: https://prnt.sc/qgussn- This reply was modified 6 years, 5 months ago by politadvokat.
- This reply was modified 6 years, 5 months ago by politadvokat.
- This reply was modified 6 years, 5 months ago by politadvokat.
- This reply was modified 6 years, 5 months ago by politadvokat.
- This reply was modified 6 years, 5 months ago by politadvokat.
- This reply was modified 6 years, 5 months ago by Jan Dembowski.
Works like magic, thank you!
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] To make a whole row clickableI’m sorry for late response, it’s here: http://politadvokat.com
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] To make a whole row clickableYes, I know, but the thing is – my table actually have code
tablepress-id-1, so the problem is somewhere elseGreat!!! It all works perfectly now!!! The exact result that I was aiming for!!! Many thanks Tobias!!!
Yes, it works
Screenshot: http://prntscr.com/nhm7yy
But it works only if sorting by visitors is enabled (those little arrows at on the top of the table)
Sorry, I should’ve mentioned it in the first place, but I’d like to hide the header row, and would like to set the default sorting by rating, where the highest ones are on the top by default
Is it possible to accomplish?The SiteReviews developer generously wrote the php code for the new shortcode that we can use now. Here is the code itself https://pastebin.com/E8GtWUt2
I put it in the functions.php of my theme as advised. Now I can add the shortcode for the each row and it gives a rank number.
Screenshot: http://prntscr.com/nhgd8u
And in TablePress the shortcode looks like this:
http://prntscr.com/nhgdkaHow can we now sort the rows depending on the shortcode output?
Forum: Plugins
In reply to: [Site Reviews] SiteReviews + TablePress (sort rows by rating)It works like magic! Thank you sooo much!
Forum: Plugins
In reply to: [Site Reviews] SiteReviews + TablePress (sort rows by rating)OMFG! You’ve written the PHP for the shortcode that I can use. Thank you so much! Cannot tell how thankful I am!
I will try it and let you know how it works!- This reply was modified 7 years, 1 month ago by politadvokat.
Forum: Plugins
In reply to: [Site Reviews] SiteReviews + TablePress (sort rows by rating)Thank you for your reply!
Unfortunately, just the meta_key will not do the trick.
However, now, with the respond from the developer of TablePress, I know what I need to accomplish to make this idea work:If I can make/get/create a shortcode (of SiteReviews plugin) that will return the ranking as a plain number – then I will be able to use that number in my table for the sorting purposes.
Can you please advice me from your point of view if it’s possible to create such a shortcode that will return the ranking for each category as a plain number?
Here is the piece of the advice that I’ve got from the developer of SiteReviews. A don’t know, maybe that information can be useful somehow:
Reply from SiteReviews developer:
Since you are assigning reviews to a
site-review-categorycategory, the categories will each have a_glsr_rankingmeta_key which can be used for WP_Query sorting. However, looking at your screenshots I am unsure of how this will help.An example of sorting pages with assigned reviews by rank (using the “Posts in Sidebar” plugin) is here: https://wordpress.org/support/topic/order-posts-by-ranking/#post-11462435
That example assumes that you are assigning reviews to pages instead of to categories, but the meta_key is the same regardless.
So, maybe we can use these meta keys from SiteReviews in TablePress for the sorting purpose by meta value number?
Is there a way to add a meta_key in the table using HTML code for an each row? I mean, create additional column, add meta_key for an each row, try to sort the column by meta_key values (maybe using those little arrows on the top of the table – if it will work, and if not – by creating additional piece of code which will sort the table by those meta_key values)?- This reply was modified 7 years, 1 month ago by politadvokat.
Still cannot solve the problem
Tried to turn off every catching – still doesnt work
I have the same problem – default font is not working