wordpress

How to get a Wordpress widget to "remember" values.

Hello! I am in the process of making my first Wordpress widget, just one that loads in jQuery tweet. So my problem is that the widget editor in the admin screen won't "remember" my values, I'm sure it just has something to do with the variables just not passing onto the _control function. I am new with PHP so would anybody have any advic...

Wordpress Inline Images - Does it ignore the right margin values?

I'm using the WooThemes Original News Theme (It was free!) and I'm doing some edits. I have some images inline in my entries and what happens is that the text and images are pretty much right up against each other. I managed to get it fixed (somewhat) when the images are on the right side of the entry by adding a 5px border around the im...

How Bad Are Singletons?

So .... There are obviously many questions that all have been asked about Singletons, Global State Variables, and all that great stuff. My question is, If Singletons and Globals are So Bad, Why are they used so often? The following examples are simply ones off the top of my head that I believe are used by a good chunk of people. I g...

wordpress - how to insert html code selectively in posts

i want to display custom html code when a post is rendered (so not when is inserted into db). I currently do this with *add_filter('the_content', 'my_custom_method')*. The only problem is that i want this do be displayed only inside the post (when is viewed in its own page), not when all posts are rendered . I banged my head...

Wordpress Plugin

Hello, Hope somebody can help me out. I'm trying to use a widget within a plugin in wordpress and I'm seeing this error within the widget box: Warning: extract() [function.extract]: First argument should be an array in /nfs/c03/h04/mnt/57957/domains/rab.qbessi.com/html/wp-content/plugins/register-plus/dash_widget.php on line 24 This...

Wordpress Admin Section users.php

Hello, I'm hoping somebody knows the answer :). Within wordpress in the users section I would like to add a new row which will data pulled in from the Register Plus plugin. Where would I need to create a new row? My Example: Username Name E-mail Role **Website** Posts Admin Admin ...

Wordpress Posting News Items Side By Side, Not Stacked

Hi everyone. I am designing a site with wordpress. My index page keeps posting news items side by side, and nomatter how I try to modify my code, it will not place a break between the two. To see what I mean, visit www.acacians.net. Here is the chunk of code in my template that controls the "News Post" portion of the page: <table wi...

PHP wordpress style related posts

Do you know how wordpress decides which related posts to show?I mean I know if it has tags, then it's easy but if it doesn't? Best Regards, ...

WordPress E-Commerce Plugins

Hi, Please suggest me some better ecommerce plugins for WordPress sites? Thanks ...

How can I safely port my wordpress blog to localhost?

Hi, I'm trying to make local development copies for my wordpress blog. I tried first to install wordpress locally (on XAMPP for Windows), install the plugins then import the live data (from a DB backup). The problem is whenever I import the live data I start getting all sorts of errors, even after I change the blog's URL through the dat...

getting id number from an active wordpress widget's widget_id

I want to get the widget ID of the first widget that belongs to a specific widget class on a Wordpress page. That is, if there are three text widgets available on the page with widget ids widget_text-14, widget_text-2 and widget_text-8 (appearing in this order), I would like to get "14". I tried making use of is_active_widget as part o...

What is the proper mime-type on a link rel pingback (WordPress)?

This question applies to WordPress, but maybe someone knows if it applies universally? Is there a proper mime-type (type attribute) for this... ? <link rel="pingback" type="WHICH-TYPE/HERE?" href="http://www.example.com/xmlrpc.php" /> Something tells me it may be text/xml, but I'd rather not guess if someone knows the right answer. ...

Wordpress Prevent Users from posting full size image uploads

Is there any way in Wordpress to prevent content editors from selecting the "Full size" option when uploading images to a post? I'd like them to just have the "thumbnail", "medium", and "large" options. I used to use the Scissors plugin to do this, but as of Wordpress 2.9 this plugin no longer works. ...

Adding nl2br to my Wordpress custom Meta Box

Okay let me see if I can explain this right. In wordpress we have a box to insert an excerpt. We need to add a second excerpt box. Instead of manually adding a custom field to every post I have placed a function to automatically add a custom field in the form of a Meta box on the admin post page. Okay so this is the problem that i'm hav...

ajax wordpress posts

I am using Wordpress for this design portfolio website: http://onomadesign.com/wordpress/identity-design/shleppers-moving-storage/ Now, on this single.php page, you can see the thumbnails on the right which link to each different post. What I would like to accomplish is that the thumbnail navigation with scrollbar, stays in the same pos...

Wordpress theme Javascript problem

Hello, I have a wordpress site running the WP-Coda theme here, and have been working to create a page template. The link to the a page with the template is namastebella.byethost5.com/random (Sorry no hyperlink, can't post 2 as a beginner!) The "fadethis" javascript function makes animated hovers on the top three links. It works on the ...

Flash navbar with wordpress?

Does anybody know if it is possible to create a wordpress template with a flash navbar? Perhaps you could point me to some examples? Thanks. ...

Suggestions for building a clothing exchange site with Joomla/virtuemart

Hello guys, I want to build a website to allow users exchange clothes with each other.The website will be similar to an online auction site and a book exchange. This will be a point-based exchange community. The website allows users to 1) register for a private account 2) list items based on a specific, yet simple form that they ...

Debugging Wordpress with Netbeans & XDebug

I'm trying to debug a Wordpress site with Netbeans using XDebug. I can get it to hit a breakpoint on the index.php page, but it won't break on any other page. Has anyone else run into this issue? If I debug a concrete5 site or something it works beautifully. So it has to be something with how Wordpress works. ...

Wordpress RSS feed problem

I am facing problem with Rss Feed for my wordpress blog. Eg: If i submit my rss feed in any rss feed website it is unable to fetch the feed automatically and it is showing message like Error pulling feed. We tried pulling this feed URL: http://www.ibeehosting.com/blog/feed and we got this error: XML error: Invalid character at line 307,...