Julie
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Spam subscribers becoming users through backdoor?@fijitrader – The EXACT same thing is happening to me, but to a site I hardly write in anymore, but yes, no comments or stolen content (according to Copyscape). It is odd and I can’t see the benefit. I am glad I found this post and I am not the only one.
@frikafrax what would they utilize sleeper accounts for? And how would they exploit public user profiles? Is there a way to moderate/block subscribers without blocking legitimate subscribers?
Thanks for your response!
Forum: Themes and Templates
In reply to: Can Someone Help Customize the Archives PageThe code is here: https://pastebin.com/qRmBS5Eh
Forum: Themes and Templates
In reply to: How do I remove blog title in header in Travel Theme?I meant the logo. Essentially, I have my own header with the title embedded in the graphic. I don’t want the Site title to display.
Forum: Fixing WordPress
In reply to: Sidebar moves to bottom of pageWow!! I am so glad I found thia!!! I have the EXACT same problem!! MY URL is https://internetmarketinginspiration.com
HELP!!
I had 78 errors in vaidator!! How do I know what line to fix it all…. is it all in style.CSS
Forum: Fixing WordPress
In reply to: Display full post if only one post in categoryI am sorry you are getting frustrated… I don’t know what file you are talking about – I am not a php expert. I am using Elegant Themes – Interphase, but I don’t know what file you would like…. sorry! ?? This may not be possible… ??
Forum: Fixing WordPress
In reply to: Display full post if only one post in categoryNo luck, huh?
Forum: Fixing WordPress
In reply to: Display full post if only one post in categoryIt is there.. thanks for all your help!!
Forum: Fixing WordPress
In reply to: Display full post if only one post in category/*this function allows for the auto-creation of post excerpts*/ function truncate_post($amount,$echo=true) { global $post, $shortname; $postExcerpt = ''; $postExcerpt = $post->post_excerpt; if (get_option($shortname.'_use_excerpt') == 'on' && $postExcerpt <> '') { if ($echo) echo do_shortcode($postExcerpt); else return do_shortcode($postExcerpt); } else { $truncate = $post->post_content; $truncate = preg_replace('@\[caption[^\]]*?\].*?\[\/caption]@si', '', $truncate); if ( strlen($truncate) <= $amount ) $echo_out = ''; else $echo_out = '...'; $truncate = apply_filters('the_content', $truncate); $truncate = preg_replace('@<script[^>]*?>.*?</script>@si', '', $truncate); $truncate = preg_replace('@<style[^>]*?>.*?</style>@si', '', $truncate); $truncate = strip_tags($truncate); if ($echo_out == '...') $truncate = substr($truncate, 0, strrpos(substr($truncate, 0, $amount), ' ')); else $truncate = substr($truncate, 0, $amount); if ($echo) echo $truncate,$echo_out; else return ($truncate . $echo_out); }; }
Forum: Fixing WordPress
In reply to: Display full post if only one post in categoryOk, I just am not sure where to put it in that code specifically….
Forum: Fixing WordPress
In reply to: Display full post if only one post in category/*this function allows for the auto-creation of post excerpts*/ function truncate_post($amount,$echo=true) { global $post, $shortname; $postExcerpt = ''; $postExcerpt = $post->post_excerpt; if (get_option($shortname.'_use_excerpt') == 'on' && $postExcerpt <> '') { if ($echo) echo do_shortcode($postExcerpt); else return do_shortcode($postExcerpt); } else { $truncate = $post->post_content; $truncate = preg_replace('@\[caption[^\]]*?\].*?\[\/caption]@si', '', $truncate); if ( strlen($truncate) <= $amount ) $echo_out = ''; else $echo_out = '...'; $truncate = apply_filters('the_content', $truncate); $truncate = preg_replace('@<script[^>]*?>.*?</script>@si', '', $truncate); $truncate = preg_replace('@<style[^>]*?>.*?</style>@si', '', $truncate); $truncate = strip_tags($truncate); if ($echo_out == '...') $truncate = substr($truncate, 0, strrpos(substr($truncate, 0, $amount), ' ')); else $truncate = substr($truncate, 0, $amount); if ($echo) echo $truncate,$echo_out; else return ($truncate . $echo_out); };
Forum: Fixing WordPress
In reply to: Display full post if only one post in categoryI don’t have a category template… the closest I have is in custom_functions
/*this function allows for the auto-creation of post excerpts*/ function truncate_post($amount,$echo=true) { global $post, $shortname; $postExcerpt = ''; $postExcerpt = $post->post_excerpt; if (get_option($shortname.'_use_excerpt') == 'on' && $postExcerpt <> '') { if ($echo) echo do_shortcode($postExcerpt); else return do_shortcode($postExcerpt); } else { $truncate = $post->post_content; $truncate = preg_replace('@\[caption[^\]]*?\].*?\[\/caption]@si', '', $truncate); if ( strlen($truncate) <= $amount ) $echo_out = ''; else $echo_out = '...'; $truncate = apply_filters('the_content', $truncate); $truncate = preg_replace('@<script[^>]*?>.*?</script>@si', '', $truncate); $truncate = preg_replace('@<style[^>]*?>.*?</style>@si', '', $truncate); $truncate = strip_tags($truncate); if ($echo_out == '...') $truncate = substr($truncate, 0, strrpos(substr($truncate, 0, $amount), ' ')); else $truncate = substr($truncate, 0, $amount); if ($echo) echo $truncate,$echo_out; else return ($truncate . $echo_out); };
Forum: Fixing WordPress
In reply to: I am having errors on validating my feed!!Actually, it was way simpler than that. I had an extra space in my functions.php file and that fixed it! Go figure! Thanks!