As i choose Wordpress for my CMS, and my client love it... i like to be able to customize a little my template. The WYSIWYG editor is easy ans people love it, because it look like word. It's easy to include picture and make links so it's a win win situation.
My question, i like to be able to take some page or page (i prefer page) and le...
How to sanitize the post_name value before inserting in WordPress?
...
I have a wordpress website which I've added a couple of custom pages to. Everything works fine except that those custom pages don't have titles. Is there a (short?) way to add titles to those custom pages?
Edit: I think I was unclear, I meant the title at the top of the browser (html title) not the title of a wordpress page.
...
I have a wordpress blog inside the company where I write blogs. I want the people inside the organization to comment on the blogs. I was able to grok through the authentication inside the company and get the person's username. I want to auto register a user if he/she doesn't already exist in the system based on their username. Can someon...
Hi,
I want to build my WP theme with a built in contact form. Something simple without captcha. I would like to use just Akismet as a spam filter. So, my first thought was to "convert" the comments.php page into a contact page template. Which I got it, but some points need to be improve.
1) When you use the contact, there is no notific...
I installed the SEO Pager plugin onto my site but it's showing up sort of funny. I would like to center it (or move it over so that it's centered with my site layout). My site is http://SweatingTheBigStuff.com
Also, when I go to older pages, the bar that I thought was removed shows up again and I'm wondering if that takes away some of t...
I'm looking at using the multi-site feature of Wordpress 3.0 to build websites in a niche market.
I've got tons of stock content that clients can use to pre-load their site.
I'd like to be able to create a new site then "drop" all this content in.
I've been using Drupal which made this a snap as each client got a copy of a "seed" dat...
I am using a great Wordpress to store files on Amazon S3 called "Amazon S3 for WordPress" it seems to have a bug with version 3.0+ of Wordpress.
The error I am getting is:
Warning: strpos() expects parameter 1
to be string, array given in
/home/dir/public_html/www.site.com/wp-admin/includes/media.php
on line 310
Here is the ...
$skin_type = "green";
$category_id = get_cat_ID( single_cat_title("", false));
if($category_id == 218){
$skin_type = "blue";
}
I have this code at the top of my header to select different backgrounds for my categories.
It works great when navigating between Categories with the menu, but it single_cat_title() does seem to work whe...
I have a list of Recent Posts in the sidebar of a Wordpress blog. The title and author show up properly, but the excerpt that gets shown is the excerpt of the current page/post not the relevant recent post.
The code:
<?php $myposts = get_posts('numberposts=10&offset=0');
foreach($myposts as $post) :?>
<li><a href="<?php the_permal...
How do I go about calling the twitter API in a way similar to http://socialmedia.duke.edu/#stayconnected
We are looking to do the same type of thing. I cannot figure out what is calling to twitter though in the code.
Any help would be greatly appreciated.
I can supply any needed details that you would need. I am using Wordpress but ju...
Hi,
I'm trying to make the following happen in a WordPress page:
User clicks on a "sort posts by" button
Value from the button is sent to sortFilter.php page
Current page is refreshed and uses the value posted in sortFilter.php to create a new loop.
On the initial page there is a tag that I want to load the data into:
<p id="sortF...
I'm working on a site in which each post will be dedicated to a single product review. I'd like to have a consistent look for each review so that the product image or cover art is at the top left. To the right of the product image, I'd like a listing of items (author, sales page, product cost, etc).
Below these two, I'd like a summary d...
I am experiencing and issue only in IE. In FF, Safari, and Chrome, behavior is as expected.
After running the IE8 dev tools profile on the pages, all signs point to the jQuery .css() function, although the details in the call stack make it impossible to find the culprit. I get no filename or line number whatsoever.
The site is http://...
For simple projects, it is suffice enough to use subversion to synchronise theme/plugin code between team's Wordpress installations. However, with larger projects, in which themes/plugins are content dependent, content needs to be synchronised as well. Is there a way to do it automatically instead of using Import / Export tools from Word...
Im running Wordpress 3.1 and its showing that there are comments (ie: 3 comments) but when you click into the single blog post they don't appear but the comment form appears.
Im not sure whether its a template issue or something's not correct in the functions.php.
I have the multi site function running for multiple blogs.
Anyone els...
Hi,
Would really appreciate your help on people's recommendations on the best way to set a list item's currentmenu class, inorder to show the user the current active menu selected using php.
I have moved my html/css site over to WordPress but originally had all my code inside my index.html file that consisted of a sidemenu div and jQue...
I am trying to come up with a function that will output a list of usernames in wp_users ordered by their post count. Right now I am able to get all users, and I am able to get post counts for individual users, but I am having a difficult time combining those two sets of data. any help would be greatly appreciated!
I'm thinking I will ne...
This is the code i have so far (no i didn't write it all by my self took help from net) but i am unable to understand why i am getting this error
Imports CookComputing.XmlRpc
Public Structure blogInfo
Public title As String
Public description As String
End Structure
<XmlRpcUrl("http://127.0.0.1/wordpress/xmlrpc.php")>...
The Wordpress blog I'm building is published like a magazine; the first day of every month, several (nine, to be exact) posts are published in rapid succession. When a reader views one of these nine posts, the other 8 posts should appear in the sidebar.
I have a function I've written to accomplish this, but I'm having some issues that ...