Comments for Decision Pulse https://decisionpulseaicommunity.innovationalofficesolution.com Sat, 05 Jun 2021 16:59:30 +0000 hourly 1 https://wordpress.org/?v=6.7.2 Comment on Content by คลิป https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/content/#comment-8 Sat, 05 Jun 2021 16:59:30 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/content/#comment-8 Hey there are using WordPress for your blog
platform? I\’m new to the blog world but I\’m trying to get started and create my own. Do you require any coding
expertise to make your own blog? Any help would be greatly appreciated!

]]>
Comment on Notice / Message Widget by scrapings https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/notice/#comment-7 Tue, 01 Jun 2021 16:15:28 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/notice/#comment-7 What\’s up every one, here every one is sharіng these kinds of know-how, thus
it\’s good to read this blog, and I used to go to see this
webpage everydаy.

]]>
Comment on Tabs Widget by Demo User https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/tab/#comment-3 Tue, 13 Oct 2020 19:34:42 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/tab/#comment-3 If you need special things—[shortcodes], paragraph tags, anything exciting—in the content, you should apply the filters as opposed to using do_shortcode().

$post = get_post( 42 );
$output = apply_filters( \’the_content\’, $post->post_content );

Thanks

]]>
Comment on Tabs Widget by Demo User https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/tab/#comment-2 Tue, 13 Oct 2020 19:32:45 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/tab/#comment-2 Wouldn’t it be better practice to use get_the_title(..) in this case? directly accessing the post object’s data member would bypass applying filters and enforcing protected and private settings, unless that’s explicitly desired.

]]>
Comment on Accordions Widget by Demo User https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/accordions/#comment-6 Tue, 13 Oct 2020 19:31:43 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/accordions/#comment-6 In reply to Eh Jewel.

If you are wanting to check if a custom (non core block) is for a page or post, include the namespace/name-of-block:

if ( has_block( \'my-namespace/block-name\' ) ) {
 // Do stuff here.
}
]]>
Comment on Accordions Widget by Eh Jewel https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/accordions/#comment-5 Tue, 13 Oct 2020 19:25:14 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/accordions/#comment-5 // Note: does not support arrays if ( has_block( array( \'gallery\', \'button\' ) ) ) { // error } // Use || instead if ( has_block( \'gallery\' ) || has_block( \'button\' ) ) { // Do something. } ]]> Comment on Accordions Widget by Eh Jewel https://decisionpulseaicommunity.innovationalofficesolution.com/docs/docly-documentation/elements/accordions/#comment-4 Tue, 13 Oct 2020 19:23:34 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/accordions/#comment-4 Note that get_the_content doesn’t return the same thing as what the_content displays. For that you need to do this:

$content = apply_filters( \'the_content\', get_the_content() );
echo $content;
]]>