Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the redux-framework domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cinema2/faq.scriptonite.app/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cinema2/faq.scriptonite.app/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the updraftplus domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cinema2/faq.scriptonite.app/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cinema2/faq.scriptonite.app/wp-includes/functions.php on line 6131

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the docly domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/cinema2/faq.scriptonite.app/wp-includes/functions.php on line 6131

Warning: Cannot modify header information - headers already sent by (output started at /home/cinema2/faq.scriptonite.app/wp-includes/functions.php:6131) in /home/cinema2/faq.scriptonite.app/wp-includes/feed-rss2-comments.php on line 8
Comments for Scriptonite FAQ https://faq.scriptonite.app Fri, 05 Mar 2021 07:25:46 +0000 hourly 1 https://wordpress.org/?v=6.9.4 Comment on Default Kit by A WordPress Commenter https://faq.scriptonite.app/?elementor_library=default-kit/#comment-1 Thu, 04 Mar 2021 07:36:35 +0000 https://faq.scriptonite.app/?elementor_library=default-kit#comment-1 Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.

]]>
Comment on Accordions Widget by Demo User https://faq.scriptonite.app/faq/docly-documentation/elements/accordions/#comment-8 Mon, 30 Nov 2020 22:57:23 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/accordions/#comment-8 In reply to Eh Jewel.

test

]]>
Comment on Accordions Widget by Demo User https://faq.scriptonite.app/faq/docly-documentation/elements/accordions/#comment-7 Mon, 30 Nov 2020 22:57:04 +0000 http://wordpress.creativegigs.net/docly/docs/rogan-wordpress-theme-documentation/blocks/accordions/#comment-7 In reply to Demo User.

heloo

]]>
Comment on Tabs Widget by Demo User https://faq.scriptonite.app/faq/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://faq.scriptonite.app/faq/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://faq.scriptonite.app/faq/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://faq.scriptonite.app/faq/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://faq.scriptonite.app/faq/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;
]]>