Tagged: x
-
AuthorPosts
-
June 20, 2016 at 10:32 am #1050836
robinweber1989ParticipantHi Support,
I would like to add a button (like this for example: [button type=”real” shape=”square” size=”small” href=”#example” title=”Example”]Square Button[/button]) in my custom excerpt field for a specific post. Moreover. Could you help me, since the excerpt does not work when I add the shortcode. Could you provide me with instructions how I can enable this within my child theme?
Thank you in advance!
Cheers
June 20, 2016 at 10:43 am #1050863
JadeModeratorHi Robin,
Please try to setup a child theme and add this in the functions.php file:
add_filter('the_excerpt', 'do_shortcode');Let us know how it goes.
June 22, 2016 at 3:12 am #1053942
robinweber1989ParticipantHi Team,
Thanks that worked great! I have another question. I’m using ethos and I set my categories to standard style and global content layout in the Customizer. With the global css below I’ve managed to change the size of the post thumbnails and the hover style. This all works great on desktop, but not so much on mobile. Could you provide me the same css changes for mobile?
Thanks!
a.entry-thumb {
padding-bottom: 90%;
}a.entry-thumb:before {
background-color: rgba(0, 0, 0, 0);
}.blog .x-main .hentry>.entry-featured, .search .x-main .hentry>.entry-featured, .archive .x-main .hentry>.entry-featured {
width: 22%;
}June 22, 2016 at 6:16 am #1054133
ThaiModeratorHi There,
Please find this CSS:
.blog .x-main .hentry>.entry-featured, .search .x-main .hentry>.entry-featured, .archive .x-main .hentry>.entry-featured { width: 22%; }And change to this:
@media (min-width: 768px){ .blog .x-main .hentry>.entry-featured, .search .x-main .hentry>.entry-featured, .archive .x-main .hentry>.entry-featured { width: 24%; } }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1050836 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
