jkovis
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Preventing get_permalink from loading the postI’m not sure, but how else would WP know if a post with that ID existed without querying the database?
You’d probably be better served asking this and your other database access questions on the WP-Hackers mailing list or IRC since more (all?) core-devs are there.
Forum: Fixing WordPress
In reply to: Infintely Requesting itselfRequest more specific information (server log) for how
"wordpress was infinitely requesting itself"Also, have you recently installed any new plugins?
Forum: Fixing WordPress
In reply to: Two Home Pages?Now however, I have the wordpress default "home" page showing in the pages tab, as well as my created home page.It sounds like the homepage link is hardcoded into your theme’s navigation.
Open your header.php (or whichever template file is creating the navigation links) and look for
wp_page_menu();orwp_list_pages();(there’s more between the parentheses).Either refer to the two bottom links to fix the function call or paste the code around those function calls here so we can see what is getting called to generate your navigation.
http://codex.wordpress.org/Template_Tags/wp_page_menu
http://codex.wordpress.org/Template_Tags/wp_list_pagesForum: Plugins
In reply to: Description lenght longer? possible?+1 for ‘Not a good approach’
The 255 character limit is set in the database. From what I can tell, depending on your mySQL version (5.0.3+) you could change the length to be between 0 to 65,535. I’m not sure (but doubt) if WP checks the character limit before saving to the database.
http://dev.mysql.com/doc/refman/5.0/en/string-type-overview.html#id4418906
Forum: Fixing WordPress
In reply to: Can’t get rid of character on my home page meta Titlelooks like they create the content in the title tag through their own function (woo_title()).
maybe try them over at http://www.woothemes.com/support/ ?
Forum: Fixing WordPress
In reply to: How do I find source of a hidden link?is the code injected on each page? where on the page is it showing up?
Forum: Fixing WordPress
In reply to: is_home for second language home pageyou might want to try is_front_page()
also, what is listed for your WordPress address (URL) and Site address (URL) on wp-admin/options-general.php?
Forum: Fixing WordPress
In reply to: Problem with Getting Custom Fields in Ver 3.0???So is $press_quotes empty even when you’ve specified a “Product_image” custom field?
try adding
<!-- $press_quotes = <?php print_r($press_quotes); ?> -->save, reload the post, and view source to see if $press_quotes is really emptyforeach($press_quotes as $press_quotes)— also, I’ve never tried assigning the same variable twice like that…maybe your foreach is not running?
Forum: Fixing WordPress
In reply to: Can’t get rid of character on my home page meta TitleIt sounds like it’s hardcoded into your header.
Can you open up your header.php file and paste the code between the <title> and </title> tags here? (Put code in between
backticks.)Forum: Fixing WordPress
In reply to: Display more posts for categories than on index.phpI added the code that MikeLittle suggested, but I’m also still getting a 404 on /page/4/ and beyond
fine – http://test.tontinehouse.com/
fine – http://test.tontinehouse.com/page/2/
fine – http://test.tontinehouse.com/page/3/
404 – http://test.tontinehouse.com/page/4/
404 – http://test.tontinehouse.com/page/5/Forum: Fixing WordPress
In reply to: Display more posts for categories than on index.phpThe code snippet above should work.I agree that the code should work, but I spent some time yesterday trying to get it to work on a localhost install and found that pagination does break after a couple pages as LynneAndChad described.
I just set up a test blog (WP 2.8.6 via svn check out and no plugins activated) at http://test.tontinehouse.com/ using the default theme with a couple of tweaks (so you can see the
$wp_query->query_varsarray and$wp_query->requestthat WP runs to generate each page).I published nine dummy posts and set the blog to show 3 posts per page (via /wp-admin/options-reading.php) by default and then added the following $wp_query edit in index.php:
// if generating a page off index.php change // the posts_per_page setting to 1 if( is_home() ) { query_posts($query_string."&posts_per_page=1&paged=$paged"); }Pagination works for /page/2/ and /page/3/ but breaks with /page/4/ and beyond.
What’s interesting to note is the LIMIT part of
$wp_query->requestbecause posts_per_page seems to revert to the default posts per page value (3 in this case) after page three.On http://test.tontinehouse.com/page/2/
ORDER BY wp_2_posts.post_date DESC LIMIT 1, 1On http://test.tontinehouse.com/page/4/
ORDER BY wp_2_posts.post_date DESC LIMIT 9, 3I also followed several good WP sources (nathanrice.net and weblogtoolscollection.com, Codex Custom Queries, and Codex Query Overview ) without luck.
Forum: Fixing WordPress
In reply to: Display more posts for categories than on index.phphmm…can you post a link to your site?
maybe try this in the meantime:
query_posts($query_string."&posts_per_page=2&paged=$paged");Forum: Fixing WordPress
In reply to: 24/7 WordPress Support ServicesWhoops…I failed to mention as blondishnet correctly pointed out that WP Help Center is a fee-based service.
My apologies for any confusion.
Forum: Fixing WordPress
In reply to: no text/content in my homepageIn your theme’s folder there should be an index.php file. Open that file with a text editor (like Notepad on Windows) and paste the contents of the file into the message textarea below (the place where you can type).
Before you click the Post button highlight the contents of the file and then click the “code” button once. This will ensure that your code is formatted properly.
Forum: Fixing WordPress
In reply to: How to get Bullet Points to showCan you access your site via FTP?