-
AuthorPosts
-
January 15, 2020 at 1:01 pm #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, 10 months ago by backfolder.
January 16, 2020 at 8:54 am #1174769Hey backfolder,
Please refer to this post by Yigit: https://kriesi.at/support/topic/enfold-4-7-1-issue-on-h1/#post-1173344
Best regards,
RikardJanuary 16, 2020 at 9:22 am #1174781Hi Rikard.
I’m not talking about slideshow. I’ve tried to add style throught CSS with no luck.January 16, 2020 at 2:20 pm #1174976Hi backfolder,
Please have a look at the following thread:
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 16, 2020 at 3:14 pm #1175027Hi 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>'; }
January 16, 2020 at 3:21 pm #1175031Hey,
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!
YigitJanuary 16, 2020 at 3:29 pm #1175039Hi Yigit.
Here we go…
Maybe it’s something relating advanced styles but ain’t got no sense.
Thanks in advance ; )January 16, 2020 at 3:55 pm #1175062Hey,
I have updated /enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php file. Please review your website :)
Regards,
YigitJanuary 16, 2020 at 4:45 pm #1175107Eyyyyyy!!! 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, 10 months ago by backfolder.
January 16, 2020 at 5:17 pm #1175130Hey,
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,
YigitJanuary 16, 2020 at 6:33 pm #1175151Please, use Yigit as username, not yigit.
Thanks so much! I’m gonna check the CSS using CSS Lint.- This reply was modified 4 years, 10 months ago by backfolder.
January 17, 2020 at 12:37 pm #1175340Hi,
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,
YigitJanuary 17, 2020 at 12:44 pm #1175345Thanks 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.January 17, 2020 at 12:48 pm #1175347Hi,
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,
YigitJanuary 17, 2020 at 1:01 pm #1175355So… where is the problem?
What I want is only to remove the date info under tittle, at second colum in footer.January 17, 2020 at 1:05 pm #1175357Hey,
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!
YigitJanuary 17, 2020 at 1:16 pm #1175368Thanks so so so so so so so much Yigit!!!
That worked ; )January 17, 2020 at 1:24 pm #1175375Hi,
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 -
AuthorPosts
- The topic ‘HTML tags in excerpt at portfolio’ is closed to new replies.