klevismiho
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Maybe you have a older version.
Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?I have wordpress 3.2.1 by the way.
Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Yeah nothing. I have only 2 posts that start with an A (Atmosphere, Amber).
If I put query_posts(‘category_name=test’), it gets the posts from test category.Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?No, nothing ??
Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?The code in my template is:
<?php query_posts('letter=A'); while (have_posts()) : the_post(); echo 'test'; endwhile; ?>
Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Here’s what the output of print_r is:
WP_Query Object
(
[query_vars] => Array
(
[letter] => A
…..Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Sorry, my question was not right. I want to get all posts whose titles begin with a specific letter, so basically the code that you gave me first.
But doesn’t work.Forum: Fixing WordPress
In reply to: What argument to use in query_posts to get posts with given letter?Thank you, thank you, but It doesn’t work.
Forum: Fixing WordPress
In reply to: Easing the use of custom fieldsChristine thank you, this is quite what I want, I only need to add some code in functions.php for that to work.
This plugin doesn’t get the custom fields that I added before.Forum: Fixing WordPress
In reply to: Transfer to new server – BROKETry to export the database, open it in a text editor, search and replace old url with the new one.
Forum: Fixing WordPress
In reply to: Where do I insert Google Analytics code?Look to your theme folder, it there is no footer.php look at index.php.
You can also put the google analytics code after dhe opening <body>, which usually is at header.phpForum: Themes and Templates
In reply to: Webpages inside Background imageYou should have to put the image in a container div, for example
<div style="background: url('background.jpg') no-repeat; width: 600px; height: 400px; margin: auto;"> ALL THE CONTENT HERE </div>
[Please post code snippets between backticks or use the code button.]
Forum: Fixing WordPress
In reply to: Error establishing a database connectionesmi, not with the database connection, but with the “Internal Server Error” it could.
Forum: Fixing WordPress
In reply to: permalink custom structure questionFor performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname field.
Thanks esmi. I wasn’t aware of it. I saw it from a SEO perspective.