wordpress

Adding a fuction to wordpress theme to bypass/replace premalinks

Looking at Cssremix.com when you hover over a item you can see the "Views" function I'm assuming they are using a plugin that links with the post views but when clicked the item redirects not to the post but to a website/site used ...

How to get a whole Wordress site to work over SSL?

We have a Wordpress website that has an SSL certificate for all non-www pages. So, we've tried setting the Wordpress address URL to https://mydomain.com in the General Settings screen. The redirect works if you try entering www.mydomain.com, but only after you accept the certificate on the untrusted connection. So it needs to run the red...

How do I fix my MySQL server.

I use a local Apache server for many things, but I never really had a use for MySql. I recently decided to keep a local copy of Wordpress, so I installed MySql. I tried to install PHPMYADMIN, but every time I tried to log on I got a blank screen. I tried with good and bad credentials and even the CONFIG mode. I even did the same thing w...

How to decode eval(stripslashes(gzinflate ...

Hello, I've decoded code in footer and header of template, but don't know how to do it in functions.php in wordpress template. Can you please decode this code: <?php print(stripslashes(gzinflate(base64_decode("VZBNS8QwEIbvC/0PcyikhbJ611rY9QPZxZOKSKCUyYSETZOSpB4U/7uztCLCHGbeZ767m+sO9Owx2+ABDeGpNzQoilX9VWwAoHStFE+7l9cd7t/swd0e3h+OUlwtUL...

Change <span> text on document load with jQuery

I'm working on a WordPress site that uses a dynamically generated menu system which I can't modify becauase of future updates, but what I'd like to do is be able to change the style of the text within one <span> in that menu with jQuery on document ready. The span is nested as an <li> item, and I don't if that makes a difference. (And I ...

How to customize TDO miniforms in wordpress

Is there any way to post TDO miniform content to different post types. Currently its allowing only to post to categories. Is there any hack to post to content types using TDO mini form. Also I can't see the contents posted through TDO Mini form in the site. I can see the fields and content while editing the post but in the site, only the...

Wordpress Custom URL Rewrites

I have links in my site that pass queries to pages that query from an external database. This works fine e.g. mysite.com/catalog/?tl=flooring however i want to rewrite this url to appear as mysite.com/catalog/flooring Ive tried modifying the rewrite rules in wordpress but it always displays the index page add_filter('rewrite_rules...

Problem getting author from a wordpress RSS feed using SimpleXmlElement

Hay, i'm trying to parse an RSS feed from a wordpress blog. So far everything is working as expected, here's my code <?php $feedUrl = "FEED URL"; $rawFeed = file_get_contents($feedUrl); $xml = new SimpleXmlElement($rawFeed); $channel = $xml->channel; $items = $channel->item; foreach($items as $item){ ec...

What is the function got get all the media files wordpress?

Hello there, Can anyone suggest me what is the function to get all the images stored for wordpress? I just need to list all the images seen under menu Media of the wordpress admin. Thanks in advance ...

Wordpress loop : get current post count inside The Loop

Hey, What i want to do i quite simple : when inside The Loop, i want to retrieve the current post count. For example, after every 3 posts, i want to insert an ad. So, how do i get the value of the loop count? Cheers, Kartik Rao ...

In gigya wordpress plugin how i can use facebook like button.

I am using wordpress 3.0 and gigya plugin for connecting facebook.I want to add like button in my wordpress pages. So how i can add fb like button? ...

SSL in a wordpress website.

Suppose I'm creating a Wordpress website with user login and a small e-commerce. When user logins in, she uses http://www.mysite.com/login/. When se buys something, she uses http://www.mysite.com/mycart/ where credit card info is entered. How do I use SSL in this setup? I mean, I should redirect http://www.mysite.com/login/ to https://...

is_multisite(); Support for Wordpress 3.0

Looking for a variable to use to differentiate between sites in a Wordpress 3.0 Multisite installation. I saw the function "is_multisite();" in some blogs, but not sure if its supported yet. I have one theme I'd like to use on all the Network's sites, but need a way to use conditions between them. Thanks for the help. ...

What is the best way to include latest version of jQuery?

I'm developing sites using Wordpress and I want to use the lates version of jQuery. To make sure I use the lates version, I have found this piece of code from Binary Bonsai's example. What I see, is that he actually links to jQuery at Google API. So my question is, what is better. To link to jQuery on an external page? http://ajax.go...

Live Radio on WordPress.com Blog

Hi, I'm trying to get a live radio stream to play on my WordPress (.com) blog. Is there a widget I could use to achieve this? Can I use the RSS widget to accomplish this? I tried pasting the live stream link into this widget but the station's blog feed displayed on my blog. Any assistence will be appreciated. Thanks ...

Having weird redirect issues with site, is this always going to be a server issue?

I can see http://www.webermediapartners.com website when I have the plugins directory not named 'plugins', which changing it to any name will not show up in the WP system since it requires a folder by that name. I get a messed up login and sent to an URL redirect for enternity. When I rename the plugins dir to 'plugins', the http://www....

WordPress: How to merge custom post type array?

Hello, i try to setup a yearly (grouped by month) archive for custom post types in WordPress. But my code did not work as aspected. Maybe it is obiviously for someone who is more familar with WordPress and PHP but i can't get it work. The code below is grouping by month but each post type by itself. Maybe i need to merge booth. But how...

WordPress: Managing subfolders in media library

I'm working on a site for a client that uses a large number of images and we concluded that it's necessary to use subfolders within the media library, also being able to give these custom names (no auto-generated date based folders). I guess it's possible to make some sort of function for this or use a plugin but haven't found any existi...

Wordpress: Adding class selectors to the_tags(); output

How do I get the_tags() to output each tag so that it comes assigned with a unique class selector? So for example: the_tags() currently outputs something like this: <a href="http://myblog.com/tag/kittens" rel="tag">kittens</a> However, I'd like to output something like this: <a href="http://myblog.com/tag/kittens" rel="tag" class="ta...

Use multiple checkbox in wordpress admin

I have created a menu to manage user records for wordpress admin. While listing the record I have used check box to select and unselect the record as in Pages menu. I have to select whole address or name on checkbox click. But here what happens is that when I click on name it selects whole checkbox including name and address. I do not h...