Forum Replies Created
-
AuthorPosts
-
RobertoParticipant
i fixed with this:
@media (min-width: 1600px) { .post-template-default .site-content, .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1500px !important; } } @media (min-width: 1800px) { .post-template-default .site-content, .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1700px !important; } }
RobertoParticipanti fixed.
RobertoParticipanti added offset, it works perfect with slider active but dont show nothing with slider deactive, please help me
RobertoParticipanti tried but don’t works. can you help me? Palese
RobertoParticipantare you there?
RobertoParticipanti fixed with plugin.
thank you very much. 🙂RobertoParticipantthank you 🙂
RobertoParticipantyour widget no use WordPress languege but it saved in PHP file in /inc/
RobertoParticipantare you there?
RobertoParticipantNo works
i put:
require get_stylesheet_directory() . '/inc/newscard-widgets.php';
i’ve error.
i want translate the words “populair”, “commented”, “recent” in /inc/newscard-widgets.php
RobertoParticipantPlease help me
RobertoParticipantthe files in inc/ folder have not !function_exists
RobertoParticipantA last question: how can i override inc folder in child theme?
RobertoParticipantmy code works but your Is graphically better. but it no works so.
I modify so:<?php $get_description = get_post(get_post_thumbnail_id())->post_excerpt; if(!empty($get_description)){//If description is not empty show the div ?> <figcaption class="featured-image-caption"><?php echo esc_html ($get_description);?></figcaption> <?php } ?> </figure><!-- .post-featured-image .page-single-img-wrap --> <?php } ?>
.post-featured-image.page-single-img-wrap .featured-image-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 25px 7px; font-weight:bold; font-style:italic; color: #ffffff; background-color: black; opacity: 70% } @media (max-width: 767px) { .post-featured-image.page-single-img-wrap .featured-image-caption { font-size:80%; text-align:center; padding-left: 15px; padding-right: 15px; } } }
RobertoParticipanti done it adding in /template-parts/content.php in row 36:
<?php
$get_description = get_post(get_post_thumbnail_id())->post_excerpt;
if(!empty($get_description)){//If description is not empty show the div
echo ‘<div class=”featured_caption”>’ . $get_description . ‘</div>’;
}
?> -
AuthorPosts