Blog Of Sem: boombox wordpress tema feed videos

boombox wordpress tema feed videos

googledrive\projeler\funnycartoons4u

wp-content/themes/boombox/template-parts/listings/content-stream.php
editle
feed : http://9gagrss.com/feed/ taglıdır

en aşağıya bunu yaz

<div class="entry-content">
<?php the_content(); ?>
</div>


hide full post
.full-post-show .post-thumbnail .view-full-post {
    display: none;
}
------
Change position of view full post button to outside bottom

.post-list .post.full-post-show .post-thumbnail {
     margin-bottom: 47px;
}
.post-thumbnail .view-full-post {
     background: transparent;
     bottom: -45px;
}
.post.full-post-show .post-thumbnail > a:first-child {
     display: inline-block;
     width: 100%;
}
.post.full-post-show .post-thumbnail.show-short-media {
     max-height: none;
     overflow: initial;
}
.post.full-post-show .post-thumbnail.show-short-media > a:first-child {
     max-height: 500px;
    overflow: hidden;
}
.post-thumbnail.show-short-media .view-full-post {
     bottom: -37px;
}
@media screen and (max-width: 767px) {
 .full-post-show .post-thumbnail.show-short- media {
    max-height: none;
 }
 .full-post-show .post-thumbnail.show-short-
 media >a:first-child {
     max-height: 300px;
 }
}

----------------
trigger before insert
IF new.post_type='post' THEN 
SET new.post_content = REGEXP_replace(new.post_content,'</video><p>*.*', '</video><p></p></div>');
SET new.post_content = REGEXP_replace(new.post_content,'</a></p><p>*.*', '</a></p><p></p></div>');
SET new.post_content = REGEXP_replace(new.post_content,'<div><br><p>*.*', '<div><br><p></p></div>');
SET new.post_content = REGEXP_replace(new.post_content,'9ga.com', 'yourwebsite.com');
END IF