Question
I'm new in wordpress .I wondering is there anyway to get the category id in permalink ? My current permalink is : http:///example.com/%category%/%post_id%-%postname%.html http:///example.com/music/1-hello.html Now my music category_id is 2 , how to add this category_id to permalink ? I want to this: http:///example.com/2-music/1-hello.html

Question
This is an odd problem that I have never run into before with WordPress. I have a site, permalinks enabled. The url can be http://mysite.com/page-name/?anyParamName=testing then when I use print_r($_GET); or echo $_GET["anyParamName"] I get an empty array or nothing respectively. ...

Question
I have created a lot of custom CSV importers for WordPress in the past and I have come across issues related to the time it takes for them to finish processing. Whenever the importer starts running, it starts off importing a ...

Question
I am using a custom post type to add/display PDF documents (posts) on my website. taxonomy - wpl_documents_category post type - post_documents All is working well. However, I want to display the posts exclusively in their category - whether it be in a ...

Question
In my wp-config.php file, I have the line: define('DISALLOW_FILE_EDIT', true); I always include this on all sites as standard, and it's always worked exactly as expected. However, I've only just noticed that on one client's site, it has stopped working. They have the ...

Question
Thanks to @the_dramatist for the following code in answer to this previous question. I have a follow on, which is that I'd like to use the the following but break it down/filter it so I can pull in individual categories ...

Question
I am trying to create Worldpay gateway with help of Worldpay library and my own extending code. Here is my code which I tried and failed to work on. require_once('init.php'); use libWorldpay; if($_POST == $_SERVER['REQUEST_METHOD']) { //Form Submit Actions, Here ...

Question
In many WordPress websites functions.php file is automatically erased. I checked every file. I scanned files on server but no file is infected. After an interval of time website response white page, when I checked functions.php it empty. Why this ...