I'm working in wordpress theming and have a site set up that will detect an image from the database and then set that image to be the background of a div using simple javascript.
I have this set up on my test site, and it works perfectly on all browsers.
But now I have implemented the theme on the client site which has WP running WP...
Why is it when I have installed WPMU, I can login, yet when I view the website it is having me install the site again?
...
Hello! First time here, so please be gentle.
Does anyone know how to replicate the built-in functionality of WordPress whereby the admin is informed of when updates for plugins are available - i.e. when one (more more) is available, an icon appears over the plugins menu which contains the number of available updates.
The plugin that I ...
I am developing a live-action tag game (called DeTag) that uses a web interface for reporting kills. When a user wants to report a tag they go to a page to confirm who and when they tagged, then actually "kill" them (called pre-tag.php and tag.php respectively). However in trying both POST and GET data for the three variables I need (us...
Hi!
Wordpress 2.8.4, Simple Pie Plugin 2.2.1
I'm having this:
<?php echo SimplePieWP(array(
'http://gdata.youtube.com/feeds/base/videos?q=fifa10%20trailer&client=ytapi-youtube-search&alt=rss&v=2'
),array('items' => '1')); ?>
Instead of "fifa10" I'd like to have the value of a custom field with the key "name-of-game" in t...
Hi all, i am trying to create something like sports portal, using WordPress, i need to create new tables in the database, like News, Partners, Voting Poll and offer the administrator features so he can add new News, new partners which will be news papers websites that administrator will be able to fetch news from their websites and show ...
is there any shopping cart plugin for Wordpress MU (not for wordpress)?
...
In my Wordpress Blog I'm currently using an integrated http://U.nu url-shortener.
For this I've got in functions.php
function getunuUrl($url) {
$unuurl = file_get_contents("http://u.nu/unu-api-simple?url=".$url);
return $unuurl;
}
and in my post.php
<?php $uurl = getunuUrl(get_permalink($post->ID));
echo '<a href="'.$uurl....
I know there have been some similar questions to this, but they haven't helped me.
I'm trying to install Wordpress 2.8.4 on my XP box, with IIS 5.1. I installed MySQL, and found that it was possible to install Wordpress through the Microsoft Web Platform Installer. After installing Wordpress (the install worked fine), I proceeded to the...
I'm looking for a way to customize my < code > and < pre > tags in my blog.
I'm in need of custom CSS styles/codes. Anyone able to guide me to a few good examples?
...
I have a PHP page, in Wordpress. When I add a inline Thickbox to the page and attempt to open it, the Thickbox opens at the very bottom of the page, after the footer.
Strangely, I took the generated HTML code, and made an HTML file with it. That HTML file opens the Thickbox correctly. The only difference is that it is not being gener...
I'm trying to filter ALL widget output through a simple filter, but can't find any hooks and was hoping to be pointed in the right direction. Or possibly my efforts are not even possible?
My simple filter is something like this:
function clean_widget_output( $input ) {
return str_replace( array( "\t", "\n", "\r" ), '', $input );
}
...
I had posted this earlier on Stack Overflow, but couldn't get a positive result. I thought I should do this again.
<?php require_once 'news/wp-config.php';
$howMany = 0;
$query ="SELECT `ID`, `post_title`,'post_category', `guid`,SUBSTRING_INDEX(`post_content`, ' ', 100) AS `post_excerpt` FROM $wpdb->posts WHERE `post_status`= \"publish\...
I'd like to automate some administrative task for myself on my wpmu install. For example, I'm trying to write php curl script for logging in and adding a new blog. So i'm already logged in via curl and now i want to post form that's in wpmu-blogs.php but it has hidden wp nonce field. How do i get this value into variable? I checked sourc...
I would like to show only the posts of the last X day's on my wordpress frontpage. Let's say, a week, so 7 day's.
What's the propper way to tell wordpress to select only the posts in the last X day's in the loop?
Currently, I've got it working trough a hack, but it messes up the pagination. Going to the next page does not select the ri...
I have just taken over someone's hosted Wordpress site. How do I find out what version he is running?
...
I am making a Wordpress plugin that provides updates in the widget section of the page - everything works fine. The one thing that doesn't is the ajax callback (using load with jquery). It appears that Wordpress is blocking direct access to the php file that I am trying to load (it is in /wp-content/plugins/myplugin).
How should I be ...
Hello,
I know there are functions to like is_single() that will return data about the page, but I'm looking for a way to get the following information outside of the loop:
The category of the single post.
AND
The title of the single post.
All I would really need is the post ID in question and I could get all the other information. I...
Wordpress / Custom MySQL queries
I've got a query to return all posts from a specific category:
SELECT ID, post_title, post_name, guid, post_date, post_content, guid FROM wp_posts as p
INNER JOIN wp_term_relationships AS tr ON
(p.ID = tr.object_id AND
tr.term_taxonomy_id IN (4) )
INNER JOIN wp_term_taxonomy AS tt ON
(tr.term_taxonomy_...
I'm currently changing my theme and I need each individual code of each widget.
For example I need the rss widget, or categories widget or comment widget, etc.
I want those widget integrated in my footer.
Where can I see the code? I have no idea where to begin look...
...