I have an ASP.NET website running on IIS 7. I would like to host a WordPress site in a folder on this site (/blog).
I know that I can run WordPress on IIS through the Web Platform Installer, I just don't know if anyone has tried this scenario?
...
I am writing a wordpress theme, and have run into a fairly basic problem. By default, when you inset an image into the post, it displays that image at the size you specify, on both the homepage and the single post.
I would like to have different sized images, displaying a thumbnail on the homepage, and a full sized image when you click ...
Hi,
I am modifying a theme and pulling data out of my PODS tables. I also have a custom DBTOXML.php file which is called from index.php using an AJAX call. Since this is a custom file that I put into my wordpress theme, it can't seem to find my Pod class and so I am not able to pull data out of my PODS tables. Any idea how I can make th...
Hi,
I want to display only those the parent category which have some child category with their child category without using child_of=
I was trying to display but i am only able to get the list of child category not their parent category name.
<?php
$querystr = "SELECT wp_terms.name, wp_terms.term_id, wp_terms.name FROM wp_terms, wp_t...
Hi. Does anyone know how to pull out the url of the image in wordpress so it can be used as a refrence in the script? I need to pull them dynamically. However when I'm using postimage(); it pulls out this:
<a href="address">
<img width="300" height="300" src="image.png" class="image" alt="" title="LINKING"/>
</a>
I'm only interested i...
Hello,
How to Check whether the_excerpt() function is called in a particular page example in a archive page.
The thing is i want to know whether the_excerpt() function is used to display the content or whether the_content() is used to display the content in archive/category pages.
How to check this. Is there any conditional tag
...
I have a Wordpress blog set up to display comments as "Anonymous User" by hard coding it into the comments.php file. I would like to have it say the user's Username next to their comment and ONLY display that Username to THEM. In other words, if they're a guest, they'll see "Anonymous User" and if they're a registered/logged in DIFFERE...
Hi all,
I wish to build a "lecture notes" website using wordpress. And would love for any advice on what plugins to use, other considerations to have or website that perform a similar task with WP.
The website should have a form that will allow users to upload their lecture files. The results should be a new "post". When submitting ...
Hi,
I'm building a Wordpress plugin and I added a menu page which serves for management of "Vendor" entities that are kinda similar to the existing User entities.
I have a list page similar to Users List, with Edit button for every record and when I click on the "Edit" button I should be taken to the "Edit Vendor" (which does not have...
Can someone tell me how to tell Wordpress' tinymce editor to NOT strip out script tags? I looked in wp-admin/includes/post.php and added
'extended_valid_elements'=>'script[charset|defer|language|src|type]',
to the $initArray.
When I do a view source on the CMS post editor, I see taht it does show up like so:
<script type="text/jav...
Is there a way to overwrite the default search function in wordpress? I have tried using the filters, but they only allow adding to the query... or possibly rewriting the whole query using posts_request. If I overwrite that though, no other querys will work. I have the following code
function my_posts_request_filter($input)
{
if ( i...
I noticed that when I call the the_post() or the_content() function from my wordpress template, it automatically parses the database data to replace new lines with <br/>, wraps the text with <p> tags etc...There's probably some kind of "format" function within the_post() or the_content().
I wrote a query to directly get posts from the w...
I want to put in and ad code after every 6 post on my blog. I cant really figure out how to break out of the foreach and insert the ad code.
...
I'm programming a wordpress theme and need to make it save data, how should I have it do this? Is there a wordpress function or would I have to connect to the database on my own?
...
I have a Wordpress website in which one of the categories I've stripped the comments field down to basic whole numbers only. The logged in user can enter data on the post via the "comments" field, in basic simple whole numbers. Is there any way to take the MOST RECENT comment on all posts from that category (cat 1) and run basic math? ...
In more details:
I want to build a web service to which users register and by browsing my site, users can send blog posts to their own blogs. Initially wordpress.org is discussed. However, I'll be happy to hear solutions for typepad or wordpress.com as well.
The ideal solution would be a way for my server to simply "tell" their blog wh...
Hello awesome people,
I want to add a custom field on Add A New Post page.
Like - if I am to make a plugin which will post links to Twitter after a new post is made, I would like to give ability to user to select if he wants to tweet that particular post's link to Twitter. I want to display a check box somewhere in the page which says ...
I'm developing a plugin for Wordpress, and I need to store some information from a form into a table in the DB.
There are probably lots of pages explaining how to do this, this being one of them:
http://codex.wordpress.org/Function_Reference/wpdb_Class
But are there any other pages talking about best practice for interacting with th WP...
Hello
I am using the wp_list_categories tag in Wordpress.
I would like to wrap this in a condition so it is only used when there are posts in the database. Something like:
if ($number_of_posts > "0") {
}
But I can't find a function that'll let me count the number of posts. Anyone know the solution?
...
Hi. I am writing a plugin for wordpress and I want to create my own search. I have tried to alter the wordpress search, but what I am doing is very specific with the SQL query. I am comparing lat and long coordinates and getting posts based on that.
I can display posts by using the standard wpdb query, but then I don't get the other fe...