jkovis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Remove picture from templatego into the theme’s footer.php file and either delete everything between
<div id="footer">
and
</div>
or replace it with the following (it just comments it out):
<div id="footer"> <?php /* Powered by <a href="https://www.www.ads-software.com">Wordpress</a> | Theme designed by <a href="https://www.reviewkings.com">Site Reviews</a> <br /> Brought to you by <a href="https://www.phonelookup.com">Cellphone Lookup</a> | <a href="https://www.singlesdigest.com">Dating Digest</a> | <a href="https://www.onlinedatingresource.com">Dating Resource</a> */ ?> </div>
Forum: Fixing WordPress
In reply to: sidebar spacingUse the following in site_blog.css
.post { float: left; margin: 5px; width: 740px; } .post .mid { width: 740px; }
instead of:
.post{margin:5px;} .post .mid{width:740px;float:left;}
and add this within the the last
</div>
before the footer is called:<div class="clear"></div>
for example, it should look something like:
<div class="clear"></div> </div><!-- ends content div --> <?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Comments box modificationYou need to move the cite tags outside of the li tags:
<li class="alt" id="comment-2"> <div class="quote"> <p>This is somewhere registered members...</p> <div class="clear"></div> </div> </li> <cite>Annie on <a href="#comment-2" title="">October 16th, 2009</a></cite>
not inside like they are currently:
<li class="alt" id="comment-2"> <div class="quote"> <p>This is somewhere registered members...</p> <div class="clear"></div> </div> <cite>Annie on <a href="#comment-2" title="">October 16th, 2009</a></cite> </li>
Forum: Fixing WordPress
In reply to: Remove picture from templateto remove the coffee cups go into your stlye.css file and change this:
#sidebar h2 { font-size: 18px; color: #5F5855; padding: 5px 0px 5px 38px; margin: 5px 5px; border-bottom: 1px solid #A1948C; background: url('images/sidebar_title.png') no-repeat; }
to
#sidebar h2 { /* background: url('images/sidebar_title.png') no-repeat;*/ padding: 5px 0px 5px 5px; font-size: 18px; color: #5F5855; margin: 5px 5px; border-bottom: 1px solid #A1948C; }
to remove the date, go into your page.php (or corresponding page template) and remove this line:
<div class="entry_date">anything between here too</div>
Forum: Fixing WordPress
In reply to: Show all comments in RSS feedA simple fix is to change the “Syndication feeds show the most recent ## posts” option on the Reading Settings page (wp-admin/options-reading.php).
Changing that number will also change the number of posts in your regular RSS feeds.
Forum: Fixing WordPress
In reply to: Where do I find key for custom fields post pictures?look for the $key value defined in the get_post_meta() function in your theme’s template pages
<?php //$custom_field_value = get_post_meta($post_id, $key, $single); $custom_field_value = get_post_meta($post_id, 'thumbnail', $single); ?>
Forum: Fixing WordPress
In reply to: Scheduling post allows viewing if url knownI think I’m trying to do something similar for a client (school event calendar) and was able to put this filter together (add to your theme’s functions.php):
<?php add_filter( 'wp_insert_post_data', 'event_calendar_save_post', 10, 2 ); function event_calendar_save_post( $data, $postarr ) { // specify the category that you want to disable "Scheduled" posts for $events_category = get_option('ec3_event_category'); $category_match = false; // run through all the post's categories and look for a match foreach($postarr['post_category'] as $category) { if($category == $events_category) { $category_match = true; break; } } // check if the post is in the specified category and if it's a "Scheduled" post if($category_match && $data['post_status'] == 'future') { // change the post from "Scheduled" to "Published" $data['post_status'] = 'publish'; return $data; } return $data; } ?>
All posts under the specified category and published with a future date will not be subject to WP’s “Scheduled” post feature. Instead, they will appear as “Published” posts (with future published dates).
You can add more categories to the foreach loop if you want, or remove the category requirement all-together (remove if statement and brackets).