With text blocks plugin enabled, ninjatables hidden columns are not hidden:
Example page: https://www.imatest.com/docs/stray-light-flare/analysis-channels/
On the ninja tables back end
]]>I have also loved the simplicity of this plugin for some time, and am also concerned if it is abandoned. I’ve looked for alternatives and tried WPCode, bur it wasn’t handling scripts. Any other suggestions?
]]>Hi, the problem with duplicate content explained 11 months ago here:
https://www.ads-software.com/support/topic/duplicate-content-and-shortcodes-in-plain-text/
has not been fixed by this developer.
It’s a shame because this is a useful plugin.
If this plugin has not been abandoned, please reply.
Otherwise, it is not practical to have to fork the code just to use this plugin. On my site, every other content after text blocks created by this plugin are all duplicated.
PHP Warning: Attempt to read property “ID” on null in /wp-content/plugins/reusable-text-blocks/text-blocks.php on line 268
]]>Hello! Was in a pinch with editing my website and found this plugin while looking for a fix. It works like a charm and how I expected it to ??
Just one concern: When I use my text block (as seen in link: batch schedules) somehow links to some related posts/products appear underneath the text block, and pushing my product description downwards. Is there a way to hide this? I don’t see any options in the Text Block settings, so I thought I’d ask here as well.
Thanks for making this plugin ??
]]>Hi everyone. I just wanted to consolidate some info that I gleaned the hard way from this forum. There are two big issues with this otherwise really useful plugin:
One problem is that content from other plugins on the same page as a Reusable Text Blocks shortcode can sometimes get duplicated when you use the shortcode without specifying plain=”1″. (This seems to be an issue if the other plugin fires whenever the_content is called.)
The other problem is that shortcodes within a Reusable Text Block are not interpreted when plain=”1″ is specified. So if you have a Text Block with shortcodes that triggers the the repeating content problem, you are stuck with no solution.
Fortunately, you can fix this by forking the code per this post:
https://www.ads-software.com/support/topic/shortcodes-in-text-blocks/
All your Text Block formatting must be hard-coded in HTML to use this solution, but it works.
Forking comes with its own problems, of course, but this does solve the issue. I’m really not sure why the developer hasn’t implemented this fix himself, as I can’t see how interpreting shortcodes in a plain Text Block has any downside, but that’s how things stand. Thx.
]]>Is there any way to have shortcodes work in the “No extra markup” format? I don’t want the extra <p> tags that WP adds so I can space out my code, but shortcodes just don’t render in the plain format.
]]>Hello, does this would with Wpbakery Visual Composer or any of the other page builders like Divi or Elementor?
Thanks!
]]>We are using the “Text Blocks” plugins to insert chunks of text into the site on many different pages. The advantage of us is that we can make a change in one place instead of three or four. We are not able to use this plugin’s standard shortcode to insert a text block (i.e. [text-blocks id=”__”]) because the formatting of the text blocks messes with the existing formatting of our pages. However, we can insert a text block with the plain text function (i.e. [text-blocks id=”__” plain=”1″]). This works well with one major problem: paragraph breaks in the original text block are lost, and the text is inserted as one chunk without any paragraph breaks. To solve this problem, we would imagine that the Text Blocks plugin code can be edited so that the “plain” function returns plaintext but preserves paragraph breaks–or that a different solution can be implemented with the same result.
Any suggestions for us?
(The URL we supplied needs admin credentials to enter)
]]>Hi, my clients are adding too much text to a block and it messes up the layout. Is there anyway to limit how much text they can put in a block?
Thanks for any help or suggestions!
]]>I love this plugin and the possibility to pass on variables as explained here:
What I can’t seem to figure out (no PHP expert) is, if/how I could pass on a piece of html (a href link code) on as variable.
I got it to work with:
[text-blocks id=”198″ name=”Ronaldo” template=”hal”]
but obviously not with:
[text-blocks id=”198″ name=”Ronaldo” template=”hal”]
]]>Hi,
I use shortcodes (for displaying content in columns) within a reusable-text-block. It works in the post (like “[text-blocks id=”4962″]”) but not when I try to add the block to my php template for all posts. Any workaround?
Andreas
]]>Is possible to activate Guttenberg editor for Text Blocks?
Thanks
I love the reusable text blocks plugin and am VERY dependent on it for my main blog. Further, you appear to be a guy who knows how to build software properly!
I nearly jumped out of my skin when I discovered that it is listed as not compatible with the latest release of WordPress. What can we do to fix this?
]]>Hello!
I need to add the same content to the end of each post. So I try to use custom function in functions.php similar to this:
function the_end( $text ){
return $text . ' The end!';
}
add_filter('the_content', 'the_end');
But text appears not only at the end of each post, but also inside the post after each textblock inserted with a shortcut.
How to solve this?
Thanks in advance!
]]>Hello!
My site language is Russian, code page used is UFT-8. And WordPress allows usage of Cyrillic (Russian) letters as permalinks for example with no problem. I mean it’s a built-in feature. But when I make a text block with this plugin using Russian title I got something like this as an ID
[text-blocks id=”876″]
[text-blocks id=”%d0%b4%d0%be%d0%ba%d0%b0%d0%b7%d0%b0%d1%82%d0%b5%d0%bb%d1%8c%d1%81%d1%82%d0%b2%d0%be-%d0%be%d1%82%d1%86%d0%be%d0%b2%d1%81%d1%82%d0%b2%d0%b0-%d0%bf%d0%be-%d0%b4%d0%bd%d0%ba”]
So those ID’s aren’t usable at all because they are not human readable. Can I do something on my side to enable Cyrillic letters in IDs?
It would be grate to have an ID like this
[text-blocks id=”876″]
[text-blocks id=”Экспертиза-ДНК-на-отцовство”]
Thanks in advance!
]]>Is there any way to make the pages containing text-block’s content show in the search results? (Not the text block itself, but rather the page it’s embedded on…)
]]>Thanks for this plugin. I need blocks that are not considered posts – but rather just code snippets. ie, don’t want social media buttons added to the code. I can manually copy the code with the plan text name like [text-blocks id=”post-top” plain=”1″] – but I can’t grab it from the visual editor. Is there a way to:
1) make plain text the default for all my text blocks
2) grab the plain versions from the visual editor
Thank you.
]]>Does this plugin work with Elementor ?
]]>You have missed 3rd parameter ‘id’ in line
return apply_filters( 'text_blocks_shortcode_html', $content, $atts );
see file
plugins\reusable-text-blocks\text-blocks.php
Hi,
We have a number of Text-Blocks setup with variables such as:
Mug {{item-desc}} This image is representative of the final product and the colours shown may vary slightly due to different displays and colour settings.
That we use with:
[text-blocks id="desc-short-mug" item-desc="with the text 'In Case of Emergency: Delete My Browser History'"]
However some mugs we dont want to have a description so we use:
[text-blocks id="desc-short-mug" item-desc=""]
The problem is if we forget to add item-desc (which is easy if we use the Add Block button) then the customers gets to see:
Mug {{item-desc}}
in the front end.
Can I suggest that if the variable hasn’t been set within the block, that rendering the frontend just leaves out the {{variable}} text?
A further suggestion would be to pre-populate any variables with “” when you add a block to a post that has variables. That alone wouldn’t resolve if you further edit the text block and introduce new variables, you’d still see the above for a variable not set, but it would really help as you wouldn’t have to remember what variables you’d setup in the block.
Thanks,
p.s awesome plugin, it works really well with woocommerce products to keep text uniform across ranges of products ??
]]>Whenever I enable a Related Posts plugin, each text-block in a post will generate a list related post list.
Plugins I tried:
https://www.ads-software.com/plugins/yuzo-related-post/ (This plugin allows disable related posts for Text Blocks, but the configuration didn’t work)
https://www.ads-software.com/plugins/related-posts-for-wp/
https://www.ads-software.com/plugins/related-posts-thumbnails/
https://www.ads-software.com/plugins/contextual-related-posts/
Hello,
I use Text Blocks a lot on one of the sites I have been working on ( https://www.sunsetspm.com ). Since WordPress has updated and other plugins like Short Code Ultimate now when editing and putting in the block I want to use it shows the short codes used in the text block and nothing else. I am not sure if it’s something buggy or not. Just wanted to let you know that I just started noticing this issue.
]]>Does this support Advanced Custom Fields (ACF)?
]]>Hi,
I have pages with content that is inserted using a text-block shortcode. That content contains words that I would like to be searchable. In a search of the site (WordPress search) in which I search for words inserted in a text block, the pages where the text block is used do not show up, even if the the words are on the page.
Is there any way to make the pages containing text-block’s content show in the search results?
I do NOT want the text block (CPT) itself to show up (I can make that happen), but rather the page which holds the content of the text block.
]]>Hi,
I’m using RTB on the Footer of the Page, and now i need to know how to translate it via WPML..
Thanks in Advance
Adrian
]]>How can i make translations for this blocks?
]]>I have a request. You are passing only content in the filter “text_blocks_widget_html”. Can you also pass post id in this filter? You are doing this for “text_blocks_shortcode_html” filter.
Thanks in advance.
]]>I used php function below to embed text block to the template file
<?php if(function_exists('show_text_block')) { echo show_text_block('my-text-block', true); } ?>
I used third party shortocdes on this text block but it was not rendered ans shows just as shortcodes.
]]>I am trying to use plugin with including text blocks, but i don’t need a shortcode in a window. I want to actually include code that marked by a shortcode. I want to bypass a shrtcode input.
Is there any way i can change code in text-blocks.php to get that result?