wordpress

How to delete a commnet made on fb:comment by admin?

Hi, I have used Fb:comments (XFBML) for wordpress. It seems that the comment can be deleted only by the user with account on facebook and the one who has made the comment. Is it possible to delete the bad comments that users made by the admin or anyone? Hope for the help. Thanks in advance. ...

Facebook Like Plugin HTML Entities

I installed the new Like plugin on my Wordpress blog. I also have the Open Graph Plugin for Wordpress installed. It all works magically except that the HTML special characters are showing on my Facebook Wall when I click like. I tried preventing the Open Graph plugin from encoding the content of the mega tag in the first place by editi...

Flex-Flash frontend for Wordpress

We all know what Wordpress can do with a little bit of css goodness. I was wondering whether the idea could be extended even further and make a completely separate Flash/Flex frontend for a website, that uses Wordpress in the back. That would certainly be possible. I was just wondering whether its practical. Any progress on the topic ? ...

Forcing Wordpress Header to not refresh on page load

Hi- I developed a band website using wordpress, and I placed a flash MP3 player that autoplays in the header. Whenever you click on a link, the entire page refreshes and the mp3 player starts playing the first song all over again. I wish to have the entire header including the mp3 player) stay constant while the content/sidebar/footer re...

How to Customize my comment registration in WordPress

Hey guys, I was wondering if name in the leave comment template can be separated to allow for first name and last name as opposed to just name? Did I explain myself right? if so can someone point me to an example. I would like to do this without having to install a module. Thanks guys, Matt ...

How to use walker to replace core function

I want to modify the way pages are listed in the navigation, particularly the function el_start from wp-includes/classes.php. I've first modified the classes.php directly and it worked fine butnow I want to revert classes.php and move the modification out of wordpress' internal files. I wrote a walker class that I want to use but I do...

WordPress: Using custom field to define posts to display in loop

Hi, I'm trying to use a custom field in which I input the post ID numbers of the posts I want to show, seperated by commas. For some reason though, only the first post of the series of the post IDs are displaying. Can someone help? The value of $nlPostIds is (minus the quotes): "1542,1534,1546". Here's the code... the most important pa...

wordpress custom post type

So I've just made a custom post type for my wordpress theme named "Products". When I create a new post in it and view it, the link is something like this: "http://localhost/wordpress/product/a-product-title" This page views as expected but when I try to go to the supposed parent page: "http://localhost/wordpress/product/" I get a 40...

How to make a php page and use a Wordpress theme

hello I want to create a special php and javascript page, but I want it to use my Wordpress theme that is already installed. How to do that? Thanks ...

Image error with wordpress and php

It may seem stupid question, but i've a serious problem... if you could check out orcik.net the thumbnail images does not appear. I figured out the reason but I don't know how to solve.. http://orcik.net/projects/thumb/orcikthumb.php?src=http://orcik.net/wp-content/uploads/2010/05/mac-safari-search-cache.png If you go to the above li...

How save JavaScript and HTML in option without it being auto-escaped?

And there I thought I knew Wordpress well. It now seems that update_option() auto-escapes code. If I want to save some Javascript or HTML code in an option, this behavior renders the code unusable. I refuse to do a str_replace on the returned value to filter out every backslash. There has to be a better way. Here's the PHP for the text...

Shadowbox + jQuery not working - No errors.

First, apologies. I'm a js newb. I'm attempting to trigger a shadowbox with the load of a specific page - a "pop-up" if you will. Nothing happens and according to firebug, there are no errors to report. I should note that this is wordpress, so I'm using the default jQuery call and also shadowbox rolled into a WP plug-in. Shadowbox do...

Wordpress plugin - how to use functions as get_posts?

Hey. I am trying to make a plugin for wordpress that is supposed to use the function get_posts (declared in one of wordpress' include files, but depending on a lot of other files depending on more files.), and I just can't seem to find out how to do it! Please help. Thank you :) ...

Detecting abuse for post rating system

I am using a wordpress plugin called "GD Star Rating" to allow my users to vote on stories that I post to one of my websites. http://everydayfiction.com/ Recently we have been having a lot of abuse of the system. Stories that have obviously been voted up artificially. "GD Star Rating" creates some detailed logs when a user votes on a sto...

WordPress: Prevent Showing of Sub Category Posts

Hi, I'd like to know how to prevent showing of sub-category posts. My home page lists all posts from three "main categories" (parent category), but unfortunately it's also listing some posts from the sub-categories. Here's the code that I'm using to get the posts from specific category: <h2>Category Name</h2> <ul> <?php $category_...

Access to Wordpress page through email link

I have a Wordpress site and what I would like to do is for users to send their email address through a form and then my email client would send automatically message them with a link to a certain page. That page should not be accessable without that link. Is that possible to do and are there any ready plugins for this? I use a members pl...

WordPress Get 1 attachment per post from X category outside the loop

Hey, Hope someone can help with this. What I want is to display 5 attachments but only 1 attachment from each post from a specific category in the sidebar, which links to the posts permalink. I'm using the following code so far which gets all attachments from all posts, but some posts have more than 1 attachment and I just want to show...

Why PHP Error: Call to a member function set_prefix() on a non-object

I got this error Fatal error: Call to a member function set_prefix() on a non-object in /home/reboltutorial/reboltutorial.com/wp-settings.php on line 254 line 254 contains: $prefix = $wpdb->set_prefix($table_prefix); // set up global tables This occurs if I try to call index_wordpress() instead of calling these two lines ...

add a subdirectory to a site hosting wordpress in doc root

I want to run a php script on my site from a newly created subdirectory. However I am finding that my existing wordpress blog (running from doc root) is intercepting my url to the script in subdir and giving me a 404. How can I get wordpress to ignore the subdirectory? EDIT: based on comment, here is my .htacess file contents: # -Fro...

deleting pod items

does any one have any suggestions on deleting pod items in wordpress using triggers such as a button click or something similiar? ...