› Forums › Post Pay Counter PRO › Support › ppc shortcode
We are based in Europe with a GMT+1/GMT+2 time zone - support replies may be delayed due to time zone differences with your country.
- This topic has 7 replies, 2 voices, and was last updated 7 years ago by Stefano.
-
AuthorPosts
-
December 10, 2017 at 8:16 pm #59504SnehilGuest
Hi,
I have used [ppc] shortcode in the user dashboard page so that he/she can see his accumulated earnings. Few questiosn regarding the same:
1) Is there any documentation regarding this shortcode which explains various parameters which can be used in this shortcode definition?
2) By default the shortcode shows only current month data. How can I can include a parameter in the frontend so that user can select the month he/she wants?
3) How can I change the look and feel of the stats page in frontend? Where do I modify the CSS for the same? The default view is not very professional.December 11, 2017 at 9:31 am #59512StefanoKeymasterHi Snehil,
You can found the shortcode documentation here. 🙂2) By default the shortcode shows only current month data. How can I can include a parameter in the frontend so that user can select the month he/she wants?
This is not yet possible. You can add that parameter in the shortcode, but right now there’s not date picker in the frontend. There is the time choice in the BuddyPress addon, but it’s my intention to integrate the feature in the simple shortcode as well in coming releases 🙂
3) How can I change the look and feel of the stats page in frontend? Where do I modify the CSS for the same? The default view is not very professional.
The plugin does not provide a CSS editor for the frontend stats, for two reasons mainly.
- We don’t use any extra CSS, so what you see should be your theme default styling for tables.
- You can use the custom CSS feature in WordPress to edit the look of shortcoded stats, as the table has a unique id ppc_stats_table.
Hope this helps! Do ask for more clarification, if needed 🙂
Have a nice day,
StefanoDecember 12, 2017 at 8:47 pm #59535SnehilGuestThis helps Stefano. Thank you!
December 12, 2017 at 9:22 pm #59537StefanoKeymasterGlad to hear that! 🙂
December 15, 2017 at 11:48 am #59575SnehilGuestFew more questions:
1) How to display facebook shares in the detailed stats? It does not show up by default in [ppc author="current"] shortcode.
2) How to rename the detailed status table heading to something else? By default it shows “Showing posts for: This month”December 15, 2017 at 12:08 pm #59577StefanoKeymaster1) How to display facebook shares in the detailed stats? It does not show up by default in [ppc author="current"] shortcode.
Does Facebook data show up in wp-admin stats? Is the related payment criteria correctly active and set up? Everything that you see in the backend should be ported to the frontend (that is, unless you explicitly exclude some columns).
2) How to rename the detailed status table heading to something else? By default it shows “Showing posts for: This month”
That can’t be renamed, unless you manually dive into the code of the ppcp_shortcode_class.php file, which I don’t advise. You can add all the text you wish before the shortcode anyway, in the WordPress editor for that page. Does this help?
Have a nice day,
StefanoJanuary 19, 2018 at 9:29 pm #60022SnehilGuestWhen would the date picker feature be available through a simple shortcode instead of buddypress?
January 20, 2018 at 2:14 pm #60029StefanoKeymasterI still don’t know, I’m afraid! I don’t want to make promises I may not hold, so I don’t want to provide any date 🙂
-
AuthorPosts
- The topic ‘ppc shortcode’ is closed to new replies.