Complete List of Available Shortcodes in v1.4.1-secure Here are all the functional shortcodes in the new version and their intended use.
1. Main Display Shortcode Shortcode: [photoresk_qa_list]
Purpose: The primary shortcode for your main Q&A page. Displays the question list by default and automatically switches to the single question view when a ?question_id= parameter is in the URL. Example: Place this on a page called “Community Q&A”.
2. Ask Question Form Shortcode: [photoresk_qa_ask]
Purpose: Displays only the “Ask a Question” form. Use this if you want a dedicated page for submitting new questions, separate from the main list. Example: Place this on a page called “Ask a Question”.
3. Community Statistics Shortcode: [photoresk_qa_stats] Purpose: Displays a simple widget with total questions, answers, and users. Ideal for sidebars or footers. Example: [photoresk_qa_stats]
4. Search Form Shortcode: [photoresk_qa_search] Purpose: Displays the Q&A search bar. Example:
Place this at the top of your main Q&A page, above the photoresk_qa_list shortcode.
5. Leaderboard Shortcode: [photoresk_qa_leaderboard]
Purpose: Displays a list of top contributors based on their activity. Ideal for sidebars. Attributes: limit=”5″ (Controls how many users to show. Default is 5). Example:
photoresk_qa_leaderboard limit=”10″