Shortcode parameter usage syntax? | Enhancement Suggestions | Support Forum

A A A

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Shortcode parameter usage syntax?
December 21, 2017
1:18 pm
Adam
New Member
Members
Forum Posts: 1
Member Since:
December 21, 2017
sp_UserOfflineSmall Offline

I’m trying to use the AWPCPUSERLISTINGS shortcode listed here: https://awpcp.com/forum/faq/valid-awpcp-shortcodes-3-x/

 

But I can’t figure out the syntax for entering the parmeters, as there are not examples included in the documentation.

 

I’ve tried

[AWPCPUSERLISTINGS(false, 20, 25)

and various similar combinations. I can’t get anything that actually pulls up the listings though, the page just appears with the shortcode in text.

 

Also, where do I find the user_id for a particular user? Is this the Wordpress user ID, or something generated by AWPCP?

December 22, 2017
2:29 pm
AWPCP Support
Moderator
Members

Moderators
Forum Posts: 5069
Member Since:
September 4, 2013
sp_UserOfflineSmall Offline

Hi Adam,

Thanks for contacting me here. Sorry that you ran into issues with this!

The syntax for that shortcode should look like this (without the spaces before and after the brackets):

[  AWPCPUSERLISTINGS menu=true limit=2 user_id=1  ]

The user_id is the one used by WordPress and is found under the Users menu in WordPress. Just hover over the edit button, and you will see the userid in the bottom left status bar. 

If there’s something else I can help you with, please let me know.

Forum Timezone: America/Denver

Most Users Ever Online: 163

Currently Online:
13 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Johnny B: 140

godie: 120

kerdezo: 99

laburke: 94

NAIN KHAN: 93

salvig67: 84

rude: 72

purplepaula: 72

WAYTOBAYWTB52: 71

gery: 71

Member Stats:

Guest Posters: 30

Members: 37625

Moderators: 2

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 6868

Posts: 30647

Newest Members:

Volod, WINNY PUTRI LUBIS, oroxuruv, alunevu, Sivaleela, media maya, media maya, john, John, Sacha

Moderators: awpcp: 7530, AWPCP Support: 5069

Administrators: wpengine: 0, awpcp: 298

Skip to toolbar