I have a web site built using asp.net with ugly URLs like /DisplayContent.aspx?id=789564.
I know how to migrate the database, but the Wordpress urls will be (naturally) different.
Can I simply write some mapping or do I have to include a rewrite rule for each subpage (300 pages) in .htaccess?
Should I provide a rewrite rule for each e...
Here's the situation:
In wordpress I'm trying to reset a post WP_Query so that I can rewrite the post link based on whether or not a custom field exists in the post. I'm trying to give the post a NEW link in the custom field.
All I've managed to do here is kill the link entirely. Any and all help is greatly appreciated, I'm pretty gree...
Hi there!
I want to change the post permalink schema on my WordPress 3.0-beta1 to use my new custom taxonomy.
Today I can use /%category%/%postname%/ and the /my-category/my-post/ URL, that's nice but I need to use another taxonomy instead "category" one.
I tried to use /%acervo%/%postname%/ but my URLs came with %acervo% on the URL i...
I am trying to move a WordPress installation from one server to another one, including all of the SQL data, and the file-system data (photos,template files).
I just have a problem changing the URLs in the database, since I need to replace the new URL with the old one.
I would love to have some suggestions about how can I replace the UR...
Is there any way to add custom field keys to the dropdown of the custom fields on the "add new post" page without adding the fields like in the screenshot below?
...
I'm trying to debug a plugin-bloated Wordpress installation; so I've added a very simple homebrew logger that records all the callbacks, which are basically listed in a single, ultimately 250+ row multidimensional array in Wordpress (I can't use print_r() because I need to catch them right before they are called).
My logger line is $log...
I have already developed my plugin for wordpress and I can manage it from admin. I have passed the access to the plugin file usin add_submenu_page. The problem is that the plugin is extending and I want to use another file that is linked from the main file. For example I have second_page.php?id=3. When I try to access this link, i get a ...
I need to add a basic form page in the website, that runs on WordPress framework.
I have the following raw materials ready:
Client side: html form layout,css and jquery validation code.
Server side: form handler php function that processes the $_POST[] data.
My problem is to integrate this code in the Wordpress framework.
I have look...
I have problems with wordpress and ajax.
The ajax request via jQuery just dont work.
Jquery noconflict is enabled and the effects work but the ajax requst dont.
Where could be the problem?
Thank you!
...
I am able to retrieve all the posts from a custom category with this call to WP_Query
$q = new WP_Query(array( 'taxonomy' => 'jh-portfolio-category',
'term' => 0, 'post_type' => 'jh-portfolio' ));
However, let say within the jh-portfolio-category taxonomy I have defined some sub-categories, how do I specify I...
I now need to make a Kohana 3 site have a Wordpress blog.
I've seen Kerkness' Kohana For Wordpress, but it seems to be the opposite of what I want.
Here are the options I have thought of
Style a template to look exactly like the Kohana site (time consuming, non DRY and may not work)
Include the blog within an iframe (ugly as all hell...
I'm looking to build a mobile version of a WordPress site and have most of it built in static files, but am trying to get access to the WordPress content from inside an external PHP file that the mobile site will run from. How can I get access to the loop or database without manually writing SQL queries?
Edit: Just to clarify, I'm using...
How do you query posts from more than one author in Wordpress?
something like:
query_posts('author=9,10&post_status=publish&orderby=date')
This is not working though.
...
Hi I am making a wordpress plugin where I need the Admin to enter data into a database table. I am able to install the db table when the Plugin is activated, however I can't figure out how to save the user input. I've asked on the WP forums but they're dead... Any experienced guru who can lend some guidance would be greatly appreciated.
...
i am very new to wordpress. I have a div for links and I want to be able to add links to that div from the wordpress admin panel. How should I do it?
...
Hey guys, i'm using this script (http://snipplr.com/view/4912/relative-time/) to create relative times using PHP and timestamps stored in my database. I'm using the standard format for storing datetime (eg 2010-05-07 20:26:17) and it works fine with any timestamps i create.
But for some reason when i try to use a timestamp stored in wor...
Is there an easy way to grab the latest posts out of a Wordpress wp_posts table using a simple SQL query?
I have a Wordpress 2.9.2 installation as part of, but separate from, a larger system. It has a customized theme to look like the rest of the site but has otherwise nothing to do with it. I want to display the latest handful of head...
Hey,
I am running WordPress with custom taxonomy, added through functions.php in my theme. I am calling posts of a certain post type in another template in my theme but want to restrict which ones it shows by only showing those posts if their taxonomy value equals the current post name that is calling it.
So for example: if I'm on the ...
Hey,
I am calling a bunch of posts under a certain post type in WordPress which works but I am trying to add a conditional that will check first if those post's custom meta field (labeled "disc") is equal to the current post's title.
Here is what I have but this conditional does not seem to work:
<?php
$pages = get_posts('numberpos...
I'm working on a word press project. I noticed that rss is not working fine on google chrome. After I googled about it, it turned out that I need to install a plugin for google chrome so rss works. I want to know how to detect if the plugin is installed or not in case the user is using chrome browser.
Currently I'm doing the following:
...