How shortcodes are added to my templatesbabalalaUpdated December 7, 21:283221report (malefactors to the police) How do I add the shortcode for the widget below to my template and adjust its settings to filter software cards according to their respective categorized terms?I am using the following code but it is not working properly: <?php echo do_shortcode(sprintf( '[custom-widget display_type="grid" card_type="mini" number_of_software="-1" filter_type="%s" card_style="light"]', esc_attr($term_slug) )); ?> Contact Us Can't read the article? Contact us for free answers! Free help for personal, small business sites! ① Tel: 020-2206-9892 ② QQ咨询:1025174874 (iii) E-mail: info@361sale.com ④ Working hours: Monday to Friday, 9:30-18:30, holidays off
- newest
- hottest
See only the author.