Support » Plugin: WP Tiles WUD » formatting of posts

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author AccountClosed

    (@wistudatbe)

    Hello Silvio,

    Can you provide me an URL where it does not work?

    I suppose that your website is: http://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

    Thread Starter Silvio

    (@s_i_l_l_e)

    Hi Danny,
    thanks for support.

    here is the link: http://www.nhp-herten.de

    Greetingxxx Silvio

    Plugin Author AccountClosed

    (@wistudatbe)

    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

    Thread Starter Silvio

    (@s_i_l_l_e)

    Hi Danny,
    here is the code from post (http://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

    Plugin Author AccountClosed

    (@wistudatbe)

    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

    Thread Starter Silvio

    (@s_i_l_l_e)

    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(http://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

    Thread Starter Silvio

    (@s_i_l_l_e)

    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(http://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

    Plugin Author AccountClosed

    (@wistudatbe)

    I suppose you mean this difference:
    http://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 142

    Let me know or it works 😉

    Regards, Danny

    Thread Starter Silvio

    (@s_i_l_l_e)

    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

    Plugin Author AccountClosed

    (@wistudatbe)

    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

    Thread Starter Silvio

    (@s_i_l_l_e)

    Hi Danny,
    thats great! I’m still waiting.

    Greetingxxx

    Plugin Author AccountClosed

    (@wistudatbe)

    Hi,

    There is a new parameter to set formatted text in the excerpt.
    Enjoy our plugin 😉

    Regards, Danny

    Thread Starter Silvio

    (@s_i_l_l_e)

    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

    Thread Starter Silvio

    (@s_i_l_l_e)

    Hi Danny,
    now its okay. </br>,<label its work.
    but <label class="fa fa-book"> removed.

    greatingxxx

    Thread Starter Silvio

    (@s_i_l_l_e)

    Hi Danny,
    “Style Classes” are also ignored. 😉

    <label class=”tilesText”>Heilpraktikerin</label> no format Effect
    <li class=”tilesText”>Heilpraktikerin format Effect

    it seems a problem to give with label

    greatingxxx

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘formatting of posts’ is closed to new replies.