i'm starting with wordpress (from a drupal background) and trying to figure out how to create a new "menu" or url pattern. not quite sure what the lingo is in wordpress so im having a little trouble searching online for it.
the current archive allows you to sort by: /post/date/2010/06
what i'm trying to do is extend the archive functio...
Hi
I'm new in wordpress. I want to create a website to display my product stocks. An I want to use wordpress to maintain the content of the website.
I was wondering is there any way of using my own PHP scripts to access my 'product database' information within from WP and display them. Bascially, wordpress will use it's own database f...
I am planning to build a training site which will accommodate multiple users. It will also have lots of custom pages with videos in them. Which CMS/CMF is better suited for this project? Please advise..
...
I'm new to wordpress and currently developing a theme on it. I have noticed that Wordpress adds <p> tags all over the page. Do you know any plugin or a workaround to avoid this?
...
I am running WordPress MU 2.92 right now (eventually upgrading to 3.0), and I'm looking for a way to share full blog post content across multiple blogs with different themes.
If a post is used on more than one blog, each instance of the post will need to have its own comment stream. Is there an easy way to approach this without duplicat...
I'm trying to run the WordPress test suite (http://svn.automattic.com/wordpress-tests/) against wordpress MU by running "php wp-test.php -v mu" on the command line, and I get a whole slew of errors related to database tables being missing:
WordPress database error Table 'wordpress_test.wp_sitemeta' doesn't exist for query SELECT meta_va...
I'm looking for the correct way of using wp_get_attachment_image().
The following code:
<?php
$args = array(
'type' => 'attachment',
'category_name' => 'portfolio'
);
$attachments = get_posts($args);
print_r($attachments);
?>
Generates the following result:
Array
(
[0] => stdClass Object
...
I'm using
$content_width = 560;
to make the maximum image width in wordpress to 560px. However, whenever I upload an image in my custom post type, the "Large" option size is disabled and the only small, medium and actual size remain... Any idea why this isn't working?
...
I have a plugin that enables Facebook commenting on WordPress. Users have requested a feature that will hide the default WordPress comments form on posts where Facebook commenting is enabled.
How do I go about hiding the WP comments form on the fly? I know I can comment out comment_form(); from the comments.php template, but I'd like to...
Hello all,
I found the solution from this website about listing all tags in dropdown (select) list. Here is the code snippets.
<?php
function dropdown_tag_cloud( $args = '' ) {
$defaults = array(
'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'number' => 45,
'format' => 'flat', 'orderby' => 'name', 'order' =>...
I just added a new Wordpress thumbnail size using add_image_size call, but now all the photos I already uploaded are not of the correct size. If I request them, all I get is the original image with width and height attributes correctly set.
How can I force the creation of that thumb, saving the data to the database as well, given an att...
I have the following function that I've added to my functions.php file in WordPress. The idea is that it gathers all of the titles of 'fsmodel' posts (a custom post type that I've created). It then returns these as an array, which I then use to populate a select tag in the custom meta fields for a second custom post type.
Basically, 'fs...
Hi,
I am building a wordpress site with this theme. It uses templatics in house made ecommerce backend, which works great but has no plugin for iDeal. There are a few plugins provided by third parties for iDeal, but those plugins all need the wordpress eCommerce/getshopped plugin. So I am on my own.
I have basic some knowledge about ph...
I bought usage rights to a confederate soldiers database which is in sql, I bought it to intergrate with my wordpress genealogy blog, and I need to know if there is any way to do this, the place where I purchased will not give my money back, and are not very helpful as far as figuring this out.
thanks,
r. summers
...
I'm trying to setup the multisite feature for wordpress 3.0 on my Mac's localhost via MAMP.
When I follow all the instructions for turning on networking via subdirectory or subdomain, either way, I get
"Safari can’t open the page.
Too many redirects occurred trying to open “http://localhost:80/”. This might occur if you open a page tha...
Hello,I want to select with sql latest post from one category,I know how to select latest post from all category but dont know how to JOIN tables.Can someone help me with this,and explain a little.
My sql statement.
SELECT id,post_title,post_date FROM wp_posts ORDER BY post_date ASC
How to select from one category,I'm trying some code...
Hi,
I'm thinking about implementing Intense Debate in my Wordpress site.
I know that ID stores comments in its own database and in the wordpress database.
I haven't understood if this software query my database for comments when a page are requested or if it query his own system. In the second case I could have some benefits on the serv...
I am developing a plugin for an MU site. The MU site has about a few hundred blogs, but there are three types of blogs and they are named as:
blogname/sportstype1
blogname/sportstype2
blogname/sportstype3
blogname/celebritytype1
blogname/celebritytype2
etc.
I need to make two functions, one for type1, and the other function for the res...
What is the activate theme function in Wordpress? I have found switch_theme but not sure if that is the right function. Is there an activate_theme function that can be used in plugins and for development?
...
I've config'ed a WP blog (now at 3.0) to provide full RSS feeds. Yet WP insists on producing excerpt RSS feeds.
What could cause this? How does WP produce an RSS feed? (i.e. what functions get called, what gets filtered, what hooks run, etc.)
...