Bug in short code Latest forum posts
Quote from majidi on August 20, 2017, 6:02 am
[forum post="POSTID"]
,[forum topic="TOPICID"]
,[forum forum="FORUMID"]
,[forum category="CATEGORYID"]
or[forum category="CATEGORYID1,CATEGORYID2"]
.
This short code displays the board in full
I want a shortcode to display the latest posts posted
[forum post="POSTID"]
, [forum topic="TOPICID"]
, [forum forum="FORUMID"]
, [forum category="CATEGORYID"]
or [forum category="CATEGORYID1,CATEGORYID2"]
.
This short code displays the board in full
I want a shortcode to display the latest posts posted
Quote from Yworld on August 20, 2017, 10:38 amadd_shortcode( 'widget', 'my_widget_shortcode' ); function my_widget_shortcode( $atts ) { // Configure defaults and extract the attributes into variables extract( shortcode_atts( array( 'type' => '', 'title' => '', ), $atts )); $args = array( 'before_widget' => '<div class="box widget">', 'after_widget' => '</div>', 'before_title' => '<div class="widget-title">', 'after_title' => '</div>', ); ob_start(); the_widget( $type, $atts, $args ); $output = ob_get_clean(); return $output; }[widget type="AsgarosForumRecentPosts_Widget" title="My Title" number="5" target="8"]
add_shortcode( 'widget', 'my_widget_shortcode' ); function my_widget_shortcode( $atts ) { // Configure defaults and extract the attributes into variables extract( shortcode_atts( array( 'type' => '', 'title' => '', ), $atts )); $args = array( 'before_widget' => '<div class="box widget">', 'after_widget' => '</div>', 'before_title' => '<div class="widget-title">', 'after_title' => '</div>', ); ob_start(); the_widget( $type, $atts, $args ); $output = ob_get_clean(); return $output; }
[widget type="AsgarosForumRecentPosts_Widget" title="My Title" number="5" target="8"]
Quote from Asgaros on September 14, 2017, 6:08 pmThere is no shortcode for showing the latest forum-topics only. You can use the “Recent forum posts/topics” instead.
There is no shortcode for showing the latest forum-topics only. You can use the “Recent forum posts/topics” instead.
Quote from majidi on September 16, 2017, 1:03 amQuote from Asgaros on September 14, 2017, 6:08 pmThere is no shortcode for showing the latest forum-topics only. You can use the “Recent forum posts/topics” instead.
I want a showcase for the latest threads of all forums
Like mybb or ips
Quote from Asgaros on September 14, 2017, 6:08 pmThere is no shortcode for showing the latest forum-topics only. You can use the “Recent forum posts/topics” instead.
I want a showcase for the latest threads of all forums
Like mybb or ips
Quote from Asgaros on September 16, 2017, 12:10 pmThe “Recent forum topics” widgets shows you a list of the latest X topics of all forums.
The “Recent forum topics” widgets shows you a list of the latest X topics of all forums.
Quote from majidi on September 16, 2017, 12:34 pmQuote from Asgaros on September 16, 2017, 12:10 pmThe “Recent forum topics” widgets shows you a list of the latest X topics of all forums.
This widget was what I wanted 🙂
Make a short code like this
Which we can use in tabs and pages
Quote from Asgaros on September 16, 2017, 12:10 pmThe “Recent forum topics” widgets shows you a list of the latest X topics of all forums.
This widget was what I wanted 🙂
Make a short code like this
Which we can use in tabs and pages