How to correctly limit the content and strip HTML?
I have been using this code for a long time : $temp_arr_content = explode( ” “, substr( strip_tags( get_the_content() ), 0, 720 ) … Read more
I have been using this code for a long time : $temp_arr_content = explode( ” “, substr( strip_tags( get_the_content() ), 0, 720 ) … Read more
I tried to do it myself but I have really hard time with Regex (regex is hell. I just don”t understand). Anyway, I … Read more
I use a page template to show custom post type. All content from the custom post type should be password protected. I´d like … Read more
I’m trying to configure my content-page.php but i’m struggling with a few ‘mistakes’. <article id=”post-<?php the_ID(); ?>”> <div class=”page_content”> <h1><?php the_title(); ?></h1> **<p … Read more
I need to get video and content from recent posts in specific category called “Video” and show it on my sidebar. The problem … Read more
How would/should I use qTip2 to display the the_content(); of a WordPress post? I’ve been trying to accomplish this for a month now. … Read more
In post content, i insert a text like below abc acb acb acb <!–REMOVE–> text to remove <!–ENDREMOVE–> abc acb acb acb abc … Read more
I want to add_filter for the_content in functions.php of my theme. I have added code which just display echo but it seams that … Read more
So far, I’ve been able to only consistently hook the_content, appending my plugin at the end. How can I test if the displayed … Read more
I am trying to modify my loop to save post data by category. I found some code on this site that saved the … Read more