Chase Adams
Forum Replies Created
-
Forum: Plugins
In reply to: (Next-gen gallery) 28 pixels margin-topThis bit of code is actually not exclusive to Next-Gen, it’s the wp-admin bar that is called from wp_footer() in your footer.php.
I wrote a post about it, Why Your WordPress Theme Has A Rogue 28 Pixel Margin On Top, that explains why it’s there and how to fix it.
Forum: Themes and Templates
In reply to: wp_head() in IE9 adding extra pixelsThe interesting thing is that the bit that’s supposed to fill in this margin comes from footer.php, not the header.php. Do you have wp_footer() in the footer.php?
I wrote a post on my website, Why Your WordPress Theme Has A Rogue 28 Pixel Margin On Top, that explains why it’s there and how to fix it.
Good luck!
Forum: Fixing WordPress
In reply to: Visual Editor (TinyMCE) not showing up on 2.9.2 (Linux)Have you all tried navigating to wp-includes ? js ? tinymce on the server side, deleting everything in that folder and copying and pasting what’s in a freshly downloaded version of WordPress into it?
Forum: Themes and Templates
In reply to: Does google search in my custom fields?Hey Rotten Elf,
Your custom fields are stored in the database, so if they’re not being called by your theme, then Google can’t index them. Sounds like yours are being output correctly though, so Google will index them along with the rest of your post.
One thing that I mentioned earlier in this support ticket is that having your RSS feed setup to pull your custom fields is a great way to make sure Google picks them up.
Forum: Themes and Templates
In reply to: Transparent space between post@fawkes You know We’re here to help. If you ever need anything and don’t feel like wading through codex & forum, I’m @realchaseadams on twitter.
@jocken Nothing to be sorry about, just didn’t know what you were trying to achieve.
Everything is an experiment.
Forum: Themes and Templates
In reply to: How can I lose the space above the headerCan you share a link? You should be able to just edit the header.php file within the <h1> tags.
Forum: Themes and Templates
In reply to: Transparent space between postI’m not sure I agree with Jocken.
I would remove this from #pageboarders in your css file:
background-image: url(https://chrisfawkes.net/blog1/wp-content/themes/photolounge/images/border-sides.png);
and move it to .post
That way your 100px margin will give you the space you’re looking for.
Forum: Themes and Templates
In reply to: Pagination not working on page of postsDuplicate your index.php and rename it front-page.php
Paste
query_posts('cat=4&posts_per_page=10');
above the if(have_posts()) bit and it should work.WordPress is a very powerful system that comes preset so that you can customize down to very intricate levels. The point of the front-page.php file is so you can have something totally different show up when you visit than your index.php (which is considered the actual “blog” file).
I suggest doing this because the people who created WordPress set it up so you wouldn’t have to try and create a work around, it just works…don’t try to reinvent the wheel. ??
Good luck.
Chase Adams
Web Developer
The Chase Scene | Chase Your Passion
Twitter — @realchaseadams
Facebook — @realchaseadams
678-614-7146
Do You have a gravatar? Set it up!Forum: Themes and Templates
In reply to: Pagination not working on page of postsI think the best thing to do would be to go to your index.php and delete this bit that you put in originally:
$cat = 1; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $post_per_page = 2; // -1 shows all posts //$do_not_show_stickies = 1; // 0 to show stickies $args=array( 'category__in' => array($cat), 'orderby' => 'date', 'order' => 'DESC', 'paged' => $paged, 'showposts' => $post_per_page //'caller_get_posts' => $do_not_show_stickies ); $temp = $wp_query; // assign orginal query to temp variable for later use $wp_query = null; $wp_query = new WP_Query($args);
And replace it with this:
query_posts('cat=4&posts_per_page=10');
To get your cat, simply go to your Dashboard > Posts > Categories and scroll over the link for the category. The category you want to use is in the link.
posts_per_page obviously is how many you want to display on each page.
Forum: Themes and Templates
In reply to: Does google search in my custom fields?It’s in your include files…I made adjustments to the feed-rss2.php in wp-includes
I just used php to include a new file after this:
<description><![CDATA[<?php the_excerpt_rss() ?>]]></description> <content:encoded> <![CDATA[<?php the_content_feed('rss2') ?>]]>
and included the post meta in the file.
Good luck!
Forum: Themes and Templates
In reply to: Does google search in my custom fields?I’ve noticed that Custom Fields don’t show up in your RSS feed. When I adjusted mine to compensate for it and display it, I noticed our rankings shoot up. Maybe worth a try, at least.
Forum: Themes and Templates
In reply to: Pagination not working on page of postsWelcome to the wonderful world of WordPress!
If you’re wanting to display posts from a specific category, your theme should have a category.php file…which means you should be able to type https://localhost/category/mysite/fu with fu being your category (assuming mysite is a sub-site of your localhost).
Are you trying to set that the posts from that category as the homepage?
Here’s a link to the WordPress Codex on Category Templates. Let me know if that doesn’t answer all the questions you have.
Chase Adams
The Chase Scene | Chase Your Passion
Do You have a gravatar? Set it up!
Twitter — @realchaseadamsForum: Themes and Templates
In reply to: Where is #main div?My Pleasure! Make sure you mark this issue as resolved.
Keep up the pursuit.
Chase Adams
The Chase Scene | Chase Your Passion
Do You have a gravatar? Set it up!
Twitter — @realchaseadamsForum: Themes and Templates
In reply to: Pagination not working on page of postsFor starters, why not simply use a category page?
Forum: Themes and Templates
In reply to: Where is #main div?Starts in the header.php file at the very bottom.