Disable Wordpress automatic text replacement of facebook in square brackets - wordpress

On my Wordpress page I use the Gutenberg editor to create a link. The clickable text of the link is [facebook] (the text facebook in square brackets). When I preview the page, the [facebook] text is not there anymore. This seemed very odd at first, but then I realized that Wordpress probably thinks that [facebook] is some of shortcode (or similar) and is deleting (or trying to replace) it.
My question is: How can I avoid Wordpress' removal of the written text [facebook] on my page?
Or in other words: How can I create a link with the text [facebook] in Wordpress?

wordpress does not remove any shortcode like texts like you have "[facebook]". Wordpress will show it as it is if there is no shortcode is created.
So I think you should check this with deactivating all of your plugins.

Related

Wordpress Elementor missing linebreaks

The problem is related to switching between wordpress original editor and the elementor editor.
The problems appears after you have made an edit with the ordinary wordpress editor, when the page was created/edited in the elementor editor.
After this edit, if you visit the published page, all line breaks have disappeared.
The absurd thing is that if you go into the elementor editor (to fix and reinsert the missing line breaks ), they are actually there already and seen in both the Elementor Viual view, as well as in the Text view AND in the preview window.
The only rescue is to either recreate the sections from scratch, or go back to the previous version of the page.

Wordpress full text without intro text

I need to show the posts of a wordpress site but without the intro text, that is, I want the intro text, the text before the read more, not to show. How can I do that? Thanks.
If you are looking at hiding the intro text in the posts listing, then you will have to edit the post.php page within the theme folder. If you are not into PHP code, then I suggest you look for a theme where the post intro is no shown in the listing.

Wordpress: Show Plugins in front page post summaries?

I am using a slider plugin and I am trying to get the plugin to appear on the post on the front page. unfortunately, it seems to be blocking it in some way? if I post text after the slider the text appears but not the slider before it. It seems not to be exclusive to this slider plugin either.
The excerpt feature of wordpress does not support images or anything other than text. you must edit the themes index.php or content.php page to show "the_content" rather than "the_excerpt".

Keep formatting when posting content from a textarea to wordpress

I'm using USP-Pro to let users post to a Wordpress blog. I have a textarea input in which they should put the main post content - the one that appears in the Wordpress admin editor. I'd like to keep the text formatting once they submit the form so I'm using CKEditor for that textarea.
CKEDITOR.replace('usp-content');
Checking the textarea with Firebug while I input the text shows that there actually is some HTML code inside, but when the form is submitted, in the editor I just see the raw text, without any formatting, which is pretty annoying because I lose all the spaces, the new lines and so on.
EDIT:
After various attempts I discovered that the problem is in the Wordpress function wp_strip_all_tags, inside the file wp-includes/formatting.php. I tried to comment it and it actually posted the content correctly with all the html in place.
Of course I can't just comment the whole function. How can I tell Wordpress to not use it when submitting such posts?

Text editor wordpress website

I have a question about a text editor.
If you want to add a post on your wordpress website. you can do that with the text editor on your wordpress-admin-page.
I've set up my own system to add posts (newsarticles) to a website (without wordpress).
At this moment i have to add them manualy in a database (phpmyadmin) but i was wondering if it was possible to create an editor (with some code). Setting things in italic/bold would be a lot easier then, for me and for the people who doesn't understand this.
I hope my question was clear.
Try with CKEditor. Download it here (Not for WP) and use it as a text editor outside Wordpress.

Resources