Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author ThemeBoy

    (@themeboy)

    Hi Thomas,

    We’re currently putting together a knowledgebase with guides including a shortcode reference.

    For now, the shortcodes are located in the plugins /shortcodes folder, and each one corresponds to a file in /templates (where you can see available attributes).

    Hope this helps! The aim is to release the guides early next week. I’ll keep you posted ??

    Thread Starter tjodense

    (@tjodense)

    Hi ThemeBoy.
    Thank you. I will look forward to the guide ??
    Yes I can find the shortcode folder, but I can not exactly figure out to use them. I have earlier use “footballClub” and use shortcode like :

    [tb_players limit=”0″ club=”12″ orderby=”RAND” order=”DESC” linktext=”Vis alle spillere” stats=”flag,number,name,position,age,team” title=”Spillere” type=”gallery”]

    Have you one exampel how to use in Sportspress…
    Thank You.
    /Thomas

    Plugin Author ThemeBoy

    (@themeboy)

    Hi Thomas,

    Here are some examples of shortcode usage:

    Countdown

    [countdown id=“99” live=“1”]

    Event Results

    [event_results id="99" show_outcomes => "1"]

    Event Details

    [event_details id="99"]

    Event Performance

    [event_performance id="99"]

    Event Calendar

    [event_calendar id="99" status="future" initial="0" caption_tag="h3" show_all_events_link="1"]

    Event List

    [event_list id="99" status="future" order="ASC" show_all_events_link="1"]

    Event Blocks

    [event_blocks id="99" status="publish" order="DESC" show_all_events_link="1"]

    League Table

    [league_table id="99" number="10" show_full_table_link="1" show_team_logo="0" link_posts="1" sortable="1" responsive="1" paginated="1"]

    Player List

    [player_list id="99" number="10" orderby="goals" order="DESC" show_all_players_link="1" link_posts="1" sortable="1" responsive="1" paginated="1"]

    Player Gallery

    [player_gallery id="99" number="10" orderby="default" order="ASC" itemtag="dl" icontag="dt" captiontag="dd" size="thumbnail" show_all_players_link="1" link_posts="1"]

    Hope this helps for now. The documentation will be ready soon.

    Hi Themeboy,
    Looking forward to the documentation because I am completely lost without it – before when trying to put shortcodes into a post you helped us with additional toolbar options but these don’t seem to be present in Sportspress or have I missed something?

    lsyfc

    Plugin Author ThemeBoy

    (@themeboy)

    Hi @lsyfc,

    Good question. Moving from Football Club to SportsPress, we’ve decided to create separate post types for what used to exist only as shortcodes.

    For example, league table attributes used to be contained within shortcodes. To edit the league table, you would need to edit the shortcode and change the values manually, or delete it and create a new one. This would of course be more tedious if the league table appeared in more than one place.

    In SportsPress, you only need to create the league table once. Then, you can adjust the attributes directly, and use the provided shortcode to insert that league table in posts, pages, and text widgets.

    I hope this makes sense! The shortcode documentation will be for manual input, because shortcodes are already provided via Calendars, League Tables, and Player Lists.

    Hi Themeboy,

    Any news on the documentation please?

    Cheers!

    lsyfc

    Plugin Author ThemeBoy

    (@themeboy)

    Hi @lsyfc,

    Thanks for checking in.

    We’re still putting our documentation together. There is quite a lot of material so it could take a bit longer but I’ll let you know when it becomes available.

    Hi I’m now using the Football Club template and I don’t know how can I publish players on the page.

    I used this shortcode, but it doesn’t seem to be working:

    [tb_players limit=”10″ club=”1″ orderby=”RAND” order=”DESC” linktext=”Vis alle spillere” stats=”flag,number,name,position,age,team” title=”Spillere” type=”gallery”]

    I’ve already added the players to the database through Menu – Players – Add new, but can’t find the shortcode I have to paste to the page to publish it.

    Can you help me?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Shortcodes in post / sites’ is closed to new replies.