Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1173953

    Hi.
    I can’t add a somple bold < b > or < strong > tag, at a word into excerpt field at portfolio/blog entries.
    How can I do this?
    TIA.

    • This topic was modified 4 years, 11 months ago by backfolder.
    #1174769

    Hey backfolder,

    Please refer to this post by Yigit: https://kriesi.at/support/topic/enfold-4-7-1-issue-on-h1/#post-1173344

    Best regards,
    Rikard

    #1174781

    Hi Rikard.
    I’m not talking about slideshow. I’ve tried to add style throught CSS with no luck.

    #1174976

    Hi backfolder,

    Please have a look at the following thread:

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1175027

    Hi Victoria.
    No luck…! There’s no way of adding a simple colored <span> and see it. I’ve tried via CSS and inline with the same results, nothing changes.
    Maybe is a bug in WP or maybe in Enfold. Maybe this tip could help but I’m not a programmer:

    function wpse_allowedtags() {
    // Add custom tags to this string
        return '<script>,<style>,<br>,<em>,<i>,<ul>,<ol>,<li>,<a>,<p>,<img>,<video>,<audio>'; 
    }
    #1175031

    Hey,

    I just tested it on my local installation however it works fine on my end in both blog and portfolio excerpts – https://imgur.com/a/LrQzevI

    Could you please create temporary admin logins and post them here privately? Also, please point out posts where you have HTML in excerpt :)

    Cheers!
    Yigit

    #1175039

    Hi Yigit.
    Here we go…
    Maybe it’s something relating advanced styles but ain’t got no sense.
    Thanks in advance ; )

    #1175062

    Hey,

    I have updated /enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php file. Please review your website :)

    Regards,
    Yigit

    #1175107

    Eyyyyyy!!! Yeah!!!!
    Thanks so much!
    Where was the problem?

    By the way, now some rules in CSS Editor seems not to work. I.E, I need to remove .news-time in footer at the second colum in order to display only title. If I add at CSS editor span.news-time {visibility: hidden !important;} or .news-time {visibility: hidden !important;} nothing happens. Tested in two browsers.

    • This reply was modified 4 years, 11 months ago by backfolder.
    #1175130

    Hey,

    You are welcome!

    We escaped HTML in excerpt and i reverted it in your installation. I asked review from our devs. If they confirm the changes, we will include this version in upcoming update.

    I tried to login again however i was blocked by WordFence. Could you please check if you have any error in your custom CSS using this site – http://csslint.net/?

    Regards,
    Yigit

    #1175151

    Please, use Yigit as username, not yigit.
    Thanks so much! I’m gonna check the CSS using CSS Lint.

    • This reply was modified 4 years, 11 months ago by backfolder.
    #1175340

    Hi,

    Thanks “Yigit” worked :)

    I added following code to bottom of Functions.php file of your child theme in Appearance > Editor

    add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);
    function change_avia_date_format($date, $function) {
      return get_option('date_format');
    }

    Please review your website :)

    Best regards,
    Yigit

    #1175345

    Thanks Yigit!
    I’m gonna move that code to funtions.php in child theme.
    Still have no effect adding .news-time {visibility:hidden;} to CSS.
    And as request I would ask you to add lines numbered to CSS editor to better check the code.

    #1175347

    Hi,

    I already placed that code in the bottom of functions.php file of your child theme :)

    I tried adding following code to bottom of Quick CSS field and it worked so i do not think there is any error in your custom CSS

    .logo { display: none !important; }

    Best regards,
    Yigit

    #1175355

    So… where is the problem?
    What I want is only to remove the date info under tittle, at second colum in footer.

    #1175357

    Hey,

    I changed the code to following one

    add_filter('avia_widget_time', 'change_avia_date_format', 10, 2);
    function change_avia_date_format($date, $function) {
      return false;
    }

    Please review your website :)

    Cheers!
    Yigit

    #1175368

    Thanks so so so so so so so much Yigit!!!
    That worked ; )

    #1175375

    Hi,

    You are welcome, we are always happy to help :)

    Also, i heard from our devs regarding HTML in Masonry excerpt. We are not going to apply this changes in the file so when you update the theme next time, please add following code to bottom of Functions.php file in your child theme to display HTML in Masonry excerpt

    apply_filters( 'avf_masonry_slideshow_excerpt', strip_tags( $entry->post_excerpt ), $entry, $this->entries );

    If you have any other questions or issues, please feel free to let us know :)

    Best regards,
    Yigit

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘HTML tags in excerpt at portfolio’ is closed to new replies.