Shortcodes Reference

Scholar Sync provides two shortcodes. Both are generated for you (with a working id already filled in) on each researcher's or group's preview screen — the reference below is for when you want to place one manually or adjust its attributes.

[scholar-sync-scholar]

Displays a single researcher's profile and publication list.

[scholar-sync-scholar id="42"]
AttributeDefaultEffect
idThe researcher's ID. Required.
headershownSet to "0" to hide the name/affiliation header.
searchshownSet to "0" to hide the publication search box.
cited-byshownSet to "0" to hide citation counts.
co-authorsshownSet to "0" to hide co-author avatars on each article.
article-imageshownSet to "0" to hide each article's image, where one is set.
image_shapecircleThe researcher photo's shape.
shadowshownSet to "0" to remove the photo's drop shadow.

Example, hiding the header and citation counts:

[scholar-sync-scholar id="42" header="0" cited-by="0"]

[scholar-sync-group]

Displays a group — either its Research Feed or its Staff Directory grid, depending on how the group itself is configured.

[scholar-sync-group id="12" columns="4"]

id is the only attribute you'll normally need. Every display option (columns, image shape, which fields are shown, and so on) is configured once on the group's own settings screen and used automatically — you only need to add an attribute below if you want to override that setting for this one specific embed.

AttributeEffect
idThe group's ID. Required.
columnsNumber of grid columns (Staff Directory view).
image_shapeOverrides the group's photo shape.
shadowOverrides whether photos have a drop shadow.
cited-bySet to "0" to hide citation counts (Research Feed view).
co-authorsSet to "0" to hide co-author avatars (Research Feed view).
article-imageOverrides whether article images are shown (Research Feed view).
searchSet to "0" to hide the search box.
sort_byOverrides the default sort order.
show_positionOverrides whether position/title is shown (Staff Directory view).
show_institutionOverrides whether institution is shown (Staff Directory view).
show_tagsOverrides whether research tags are shown (Staff Directory view).
max_tagsHow many tags to show before collapsing into "+N more".
show_publicationsOverrides whether the publication count is shown (Staff Directory view).
show_profile_linkOverrides whether the "View Profile" link is shown (Staff Directory view).
per_pageOverrides how many results are shown per page.