peiqinglong
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: adding a page to look like the main page?You create a category-(cat id here).php page and style it exactly like your home page. So any time that that category is specifically called, it will display exactly like your home page.
Forum: Fixing WordPress
In reply to: Add a page to “page tabs”You either directly add it in manually or you use NAVT (Navigation Tool for WordPress).
Forum: Fixing WordPress
In reply to: $50 for the person who can figure out what’s wrongForum: Fixing WordPress
In reply to: Can someone take a look?Me thinks you should upgrade.
Second, you have php code or something that is running but it commented out. By looking at your source code, I see
<!-- <li><h2>tags</h2> <ul><li><a href="https://landonhowell.com/index.php/category/advertising/" title="View all posts filed under advertising">advertising</a> (99)</li>
And there is like at least 100 lines worth of it! That can be contributing to your slowdown.
You’re site is only running
<!-- 15 queries. 25.315 seconds. -->
15 queries, but it takes ~25 seconds to load. So you either got a screwy plugin or you’re running some PHP code that is backing up the load time. Try switching to the default theme to test.Forum: Fixing WordPress
In reply to: Two ways people can receive my blog updates?Feedburner also offers email subscriptions.
Forum: Fixing WordPress
In reply to: How to move categories from footer to sidebar?I’m not sure if that theme supports Widgets or not, but if you have to edit code, go to the footer and get the php code for the categories and archives and then open up the sidebar and underneath Flick (or wherever you want to stick it), add this:
<div class="box2"> <div class="top"></div> <ul class="categories"> <? php wp_list_categories(); ?> </ul> </div>
You’ll have to style it how you want it to look like. Do the same thing for Archives.
Forum: Fixing WordPress
In reply to: Add “recent post list” to a “page” WITHOUT phpHere’s another trick. Use the Page template feature. Created a new page template and add the php for recent post list to where you want it (above or below the content). For every page that you want to have the recent posts list appear, just use that page template.
Forum: Fixing WordPress
In reply to: Something wrong with Gallery and Lightbox?1) The reason the lightbox isn’t working on the thumbnails page is because the “trigger code” to activate it isn’t be called. Here’s the link from one of the pictures pages:
<a href='https://www.eurotrip2008.net/wp-content/uploads/2008/07/img_4524.jpg' title='2D' rel="lightbox[101]">
Notice the rel=”lightbox[101]”? That’s the trigger code. If you look on your thumbnail page, that portion of code is missing. You have to hack the media.php file and add that reference in. Either that or find a plugin that adds the lightbox trigger code to the gallery thumbnails.
2) Not sure why the flash multi-uploader is not working for you. I use a Mac with FF3 and works great. Are you sure you have Flash?
Have you tried downloading the latest NextGen? Also, there could be a plugin conflict. If you have another site, try enabling just the NextGen and see if you are having any issues. The correct backend path for NextGen should be:
wp-admin/admin.php?page=nggallery-add-gallery
Forum: Fixing WordPress
In reply to: Removing “Posting” section on static pagesThe best way to get rid of the comments are closed is to do step 3. That way you can remove the entire
<?php comments_template(); ?>
line out of the template.The reason step 1 isn’t preferred is: what if you want comments? If you remove the call for the comments, you’re ENTIRE site will have no comment form.
Forum: Fixing WordPress
In reply to: Media Uploader – ImagesAs a test you can try chmodding wp-content to 777. I wouldn’t recommend leaving it as that because that make it writable to the world.
@lausianne: The path should be absolute: /home/www/youraccount/html/wp-content/ and not https://yoursite.com/wp-content/.
Forum: Fixing WordPress
In reply to: Removing “Posting” section on static pagesYou have a couple of ways to do this:
1) Remove the
<?php comments_template(); ?>
line in page.php template, but this isn’t the most preferred method.2) When you edit the page, scroll to the bottom where you see Comments, and uncheck allow comments. This will display “Comments are closed” in the comments section.
3) You can create a page template and remove the
<?php comments_template(); ?>
like in step 1 and use this page template for any pages you don’t want comments to show up on.Forum: Fixing WordPress
In reply to: Heading QuestionLook under the <h2 class=”title”> title on the page.php, there is some PHP code running that is trying to query the name of something.
Forum: Fixing WordPress
In reply to: How do i insert a logo in place of the title?In your CSS file, look for:
#header {width: 100%; height: 99px; }
Then depending on the logo you want to use and where it’s located you modify the #header as such:
#header {width: 100%; height: 99px (you may have to change this depending on how big you logo is); text-indent: -5999 (we want to indent the current text so that it doesn't show in place of the logo, but so that Google and screen readers can still read it); background: transparent url(path/to/your/image) top left no-repeat; }
Forum: Fixing WordPress
In reply to: Changing the font of the theme!!Where you have:
* {border: 0; margin: 0; padding: 0; }
you add:
* {border: 0; margin: 0; padding: 0; font-family: "Times New Roman", Times, serif !important; }