formatting of posts
-
Hallo,
why lose the formatting of posts?
Can I disable this functionality?greetingxxxx
-
Hello Silvio,
Can you provide me an URL where it does not work?
I suppose that your website is: https://nhp-herten.de/
What i can see is that SOME javascript is preventing to open an URL.Try next:
Disable 1 by 1 the plugins and every time you have disabled one, refresh your front page (hit [ctrl] + [F5]) and check or the URL’s are visible again.
If you found which plugin is disturbing, give me the name so i can test it on my server.Regards, Danny
Hi Silvio,
Which style/theme are you using?
What i can see is that SOME javascript is preventing to open an URL.
Try next:
Disable 1 by 1 the plugins and every time you have disabled one, refresh your front page (hit [ctrl] + [F5]) and check or the URL’s are visible again.
If you found which plugin is disturbing, give me the name so i can test it on my server.Regards, Danny
Hi Danny,
here is the code from post (https://nhp-herten.de/homoeopathie/)<label class='tilesTitle'>Hom?opathie<label> </br> <label class="fa fa-circle"><label class='tilesText' style="padding-left: 15px; padding-bottom: 10px;">miasmatisch & prozessorientierte Hom?opathie<label></label> </br><label class="fa fa-circle"><label class='tilesText' style="padding-left: 15px; padding-bottom: 10px;">Biochemie nach Dr. Schü?ler</label></label> </br><label class="fa fa-circle"><label class='tilesText' style="padding-left: 15px; padding-bottom: 10px;">Bachblüten</label></label> </br><label class="fa fa-circle"><label class='tilesText' style="padding-left: 15px; padding-bottom: 10px;">Komplexe Konzepte für Ausleitung & Entgiftung</label></label> </br><label class="fa fa-circle"><label class='tilesText' style="padding-left: 15px; padding-bottom: 10px;">Aufbaukuren</label></label> </br><a href="#section_hom?opathie">>>> weiter lesen... </a>
In the tile of the post content is only one text without html styles.
I use GerneratePress and WP Tiles WUD.I have disabled the links of the tiles.
$('.wp-tiles-wud-container a').attr("href", "javascript:void(0)");
Greetingxxx
Hi Silvio,
I check it this evening, but so far i know we do not change anything on the post lay-out.
if you disable our plugin, is the then ok?Regards, Danny
Hi Danny,
why lose the formatting of posts in Tiles!
Not the individual contribution! Do not misunderstand ??<div class="wp-tiles-wud-wrapper" id="wp-tiles-wud-wrapper-8"> <div class="wp-tiles-wud-image" style="background-image:url(https://nhp-herten.de/wp-content/plugins/wp-tiles-wud/images/empty-wud.png)"></div> <div class="wud-h2" style="font-size:1vw; height:2vw;">Hom?opathie</div> <div class="wud-excerpt">Hom?opathie miasmatisch & prozessorientierte Hom?opathie Biochemie nach Dr. Schü?ler Bachblüten Komplexe Konzepte für Ausleitung & Entgiftung Aufbaukuren >>> weiter lesen...</div> </div>
greetingxxx
This code example is an excerpt from a tile of a post to the website.
<div class="wp-tiles-wud-wrapper" id="wp-tiles-wud-wrapper-8"> <div class="wp-tiles-wud-image" style="background-image:url(https://nhp-herten.de/wp-content/plugins/wp-tiles-wud/images/empty-wud.png)"></div> <div class="wud-h2" style="font-size:1vw; height:2vw;">Hom?opathie</div> <div class="wud-excerpt">Hom?opathie miasmatisch & prozessorientierte Hom?opathie Biochemie nach Dr. Schü?ler Bachblüten Komplexe Konzepte für Ausleitung & Entgiftung Aufbaukuren >>> weiter lesen...</div> </div>
greetingxxx
I suppose you mean this difference:
https://wp.wistudat.be/wp-help/nhp-herten.de/Because of security reasons we do a strip_shortcodes (Content to remove shortcode tags from.)
else{$wud_excerpt = else{$wud_excerpt = strip_shortcodes ( wp_trim_words ( $post->post_content, $GLOBALS['wfuncs']['wud_excerpt_words'] ) );}( wp_trim_words ( $post->post_content, $GLOBALS['wfuncs']['wud_excerpt_words'] ) );}
You can change this code without this function:
else{$wud_excerpt = else{$wud_excerpt = wp_trim_words ( $post->post_content, $GLOBALS['wfuncs']['wud_excerpt_words'] ) ;}( wp_trim_words ( $post->post_content, $GLOBALS['wfuncs']['wud_excerpt_words'] ) );}
Keep in mind that you have to change it by every WP Tiles WUD update.
You can find this code in: plugin_dir\pages\wp-tiles-wud-base.php
On line 142Let me know or it works ??
Regards, Danny
Hi Danny,
OK. I understand that. I’ll make the adjustment and enroll . Could this be the next release as a switch in the settings to disable this security setting may optionally ? ??Greetingxxx Silvio
Seems to be that wp_trim_words is also stripping tags, so i will prepare a final solution for you, with a parameter to turn this on/off.
Regards, Danny
Hi Danny,
thats great! I’m still waiting.Greetingxxx
Hi,
There is a new parameter to set formatted text in the excerpt.
Enjoy our plugin ??Regards, Danny
Hi Danny,
Thank you for the fast implementation!But unfortunately it does not work for me. Can you take a look on my side again?
</br>,<label′ removed form post.
<a′ its okay.greetingxxx
Hi Danny,
now its okay.</br>,<label
its work.
but<label class="fa fa-book">
removed.greatingxxx
Hi Danny,
“Style Classes” are also ignored. ??<label class=”tilesText”>Heilpraktikerin</label> no format Effect
<li class=”tilesText”>Heilpraktikerin format Effectit seems a problem to give with label
greatingxxx
- The topic ‘formatting of posts’ is closed to new replies.