Questions tagged [wordpress]
Consider using https://wordpress.stackexchange.com . This tag is for programming-specific questions about the WordPress content management system. Off-topic questions include those about theme development, WordPress administration, management best practices, server configuration, etc. These are best asked on https://wordpress.stackexchange.com .
wordpress
192,488
questions
7
votes
3
answers
11k
views
How can I insert a post into wordpress and associate it with a category?
I have content from elsewhere that I would like to insert as a post in Wordpress and then associate with an existing category. It is pretty straightforward to insert a new post into the wp_posts ...
0
votes
3
answers
5k
views
Don't show this if the url contains the following
I have a simple div which I don't want to load if the visitor loads up a certain URL.
It looks like this:
<?php
if( stristr($_SERVER['PHP_SELF'], 'blog') == FALSE )
{
echo "<div id="stuff"&...
1
vote
2
answers
943
views
WordPress oddity with broken images (part 2)
Can you tell me your opinion of this, and possibly see if you can recreate it? There are TWO scenarios:
SCENARIO 1 (works as intended)...
The $post->post_content variable contains this (with a VALID ...
1
vote
2
answers
180
views
WordPress oddity with broken images (part 1)
Can you tell me your opinion of this, and possibly see if you can recreate it:
Currently, the $post->post_content variable contains:
"before <img src="/path/to/valid_img.gif" /> after"
This ...
1
vote
2
answers
2k
views
PHP function called twice, funny warning message
FINAL EDIT: I've summarized and simplified this crazy question into a new question, so we can close this Q or whatever is necessary to mark it resolved. Thanks again!
NEW:
Can you tell me your ...
1
vote
4
answers
629
views
Wordpress PHP If else help
I have been trying this for hours
<?php
if ($_SERVER['SERVER_NAME']=='http://www.testground.idghosting.com/idi' && $_SERVER['REQUEST_URI'] == 'our-production/') {
echo '<div ...
2
votes
3
answers
8k
views
WordPress - list multi-level parent pages when on a 3rd level child page
I'm working on a website at the moment, and the navigation works as follows (by client specification).
Underneath the header there is a horizontal navigation listing the top level pages, clicking on ...
-1
votes
1
answer
1k
views
Toggle wordpress content
I am trying to intergrate this into wordpress. Is there a way to get custom divs for certain post I basicly just want to make a page like this updatible in wordpress. Any idea?
41
votes
11
answers
88k
views
How can I remove jquery from the frontside of my WordPress?
My wordpress site is a bit heavy to download. On the frontend, its including jquery unnecessarily. In my firebug it looks like:
jquery.js?ver=1.3.2
and
jquery.form.js?ver=2.02m
I don't need these ...
1
vote
5
answers
3k
views
How do you make a WordPress front page template in the Carrington blog theme?
I tried adding a frontpage.php file to the content directory, but that wasn't being loaded. Now I've added the following snippet to assure I'm getting a context of 'frontpage':
add_filter('...
5
votes
9
answers
19k
views
Query multiple custom taxonomy terms in Wordpress 2.8?
I created a custom taxonomy named 'technologies' but cannot query multiple terms like I can with categories or tags.
These querys DO work:
query_posts('tag=goldfish,airplanes');
query_posts('...
0
votes
8
answers
5k
views
Simple CMS (PHP/Python)
I am looking for an easy-to-use CMS that can be used to host a multilingual website with photo galleries and a few forms.
I am open to PHP/Python, excluding WordPress/Joomla/Drupal.
0
votes
1
answer
66
views
Anyone know an embedable map widget that can be posted to anonymously
I am trying to embed a map widget into a wordpress blog.
Visitors to the blog should be able to place a marker on the map and others should be able to view places that other people have marked.
It ...
0
votes
6
answers
1k
views
Developing an Application using Wordpress as a base?
Lately I've been thinking a lot about building a website/blog/community oriented site. However I can't decide if it's a good idea to build it using Wordpress as a base.
I've been reading around the ...
26
votes
2
answers
21k
views
Stock quotes API? [closed]
I'm trying to put together a simple RSS widget (for my wordpress blog) that will show a list of stocks, or markets, and their current prices.
I cant seem to find an API for this data anywhere - can ...