wordpress

Google Map wordpress plugin

I am having trouble with a plug-in for word press which has very little documentation about it. I am working on http://goo.gl/fgVM and where ever the marker is, it has NO ACTION on click, whats strange is that a pop up appears if I install this plug-in on another theme/install. I was wondering if anyone with Google map API knowledge can ...

change textarea value doesn't work

So, what i'm trying to do is adding a Javascript snippet in wordpress admin new post page, so that when i click a button it fills up the CONTENT textarea where the body of the post goes. Adding it is not a problem, i've already done this, but for some reason filling up the content field doesn't work. The textarea from the wordpress admi...

Passing a variable as an argument to the get_options() Wordpress function.

Hello. I'm currently trying work on a plugin and I'm running into an issue. Basically, in the plugin options page, I have a form in which the user will input information for an opt-in email. However, I need different forms for each instance of the email form. I'm trying to put this together quickly, so rather than rewrite it, I'm mer...

Use latest jQuery in WordPress (admin interface)

I want to use the latest jQuery (and jQuery UI) versions on my admin interface (editing a specific post type that I created). I tried this: // jQuery 1.x wp_register_script('jquery1x', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, null, true); // jQuery UI 1.8.4 PTBR wp_register_script('jquery-ui-custom-pt_BR',...

Why is $wpdb->insert_id and mysql_insert_id() returning with an extra '1' at the end?

I need to retrieve the ID of the AUTO_INCREMENT value of the last query. My query looks like this: $result = $wpdb->query( $wpdb->prepare( " INSERT INTO $table_name ( name, season, copyright, description, path ) VALUES ( %s, %s, %s, %s, %s )", $galleryData['name'], $galleryData['season'], $galleryData['copyright'], $...

Image in wordpress header breaks when on other pages

Hello, I have a very strange issue, that I'm hoping someone here can help me with. I have an RSS icon in my wordpress header.php and it works perfectly fine when on the front page but when you visit another page such as, the About page, the image is broken. I'm not entirely sure what the issue is as I don't have a ton of experience in...

How to get wordpress plugin "Twitter hash" to show on page

Hey everyone! I cannot for my life figure out how to get the downloaded plugin Twitter hash (http://wordpress.org/extend/plugins/twitter-hash-tag-widget/) to show on my index.php page. Read about it and this HTML code was given as an example in many places: <li id=”twitter"> <ul> <li><a href=”http://www.site1.com/”&gt;Site One Name</a>...

wordpress categories: how to find the last child category for a post

I have a category structure that is 5 levels deep. when returning the categories for a post, these categories are not in any particular order. I need to find the last child category for a post. ...

What does Wordpress do on just the home page (slow loading)?

I have a problem with a wordpress site and I really can't figure out what causes it. All the pages in the site load perfectly fine, they are quite stuffed with content but the load time is ok and so is memory usage as they have no problem with a 32M memory limit set in wp-settings.php. The problem comes with the home page. It takes sev...

Wordpress permissions

I'm getting "You do not have sufficient permissions to access this page." when visiting this page from the admin menu /wp-admin/edit.php?page=edit.php But, if I take out the parameters at the end, it works "/wp-admin/edit.php" Also getting it on "/wp-admin/edit.php?post_type=page&page=edit.php?post_type=page" Any ideas? I've been a...

WordPress Rating System

I am new to wordpress, and this is the first time i have built my own custom theme, and website using it. I need a plugin that would allow my customers to rate our services, input there names, and email address' and from there show the administration and possibly the customers as well what they think of us. It isn't so much of a polling...

one stylesheet for two wordpress installations

I need an easy way to load the same style sheet for two different installations of wordpress. One is at main.com and the other is at main.com/secondary. Thanks. ...

How to make a list that displays the top level subpages, and any subpages or siblings off of the current page

Lets say we are displaying a few family trees. We are currently on the family tree top-page,and we need our list to look like this: Family Trees The Smiths The Joneses The Does When the user clicks the Smiths, we want the list to look like this: The Smiths The Smiths Dave Steve Dolly The Joneses The Does And when a user click...

How to display all images from a WordPress post?

I'm trying to get all images from a WP post to create a slideshow from them. Googled around and found this piece of code to retrieve and display images from a post: function getImage($num) { global $more; $more = 1; $link = get_permalink(); $content = get_the_content(); $count = substr_count($content, '<img'); $s...

Display Tweets in Wordpress without the use of plugins

Has anyone come across a clean way to post tweets in wordpress with the use of a plugin. I would like to have the flexibility to pull at least the top 5 and only display tweets with the assigned hash tag. Many thanks ...

Dropdown menu hides behind other elements in IE

I have installed the Boldy theme from site5 on one of my projects and have run into one major problem. When browsing in internet explorer (8 or lower), the top dropdown menu gets displayed behind some other elements (main content slider, H1's etc.). I've tried everything from changing all the z-index's to fixed positions, with no luck. ...

Form submit: I want a modal instead of a redirect

I have a form in Wordpress. When it is submitted, the page redirects to another page. But I want the page to stay the same, and for a modal to appear instead of a page redirect. The following code is from the functions.php file that handles the form submission. I'm not sure if this where I would introduce a modal. But this is where the...

Own domain for each category

Hi, I'm running an existing Wordpress blog about a single topic with cleary distinguishable subtopics. Those subtopics generate enough interest and content that they could easily be a blog by themselves. As I'm just running this one blog, each of this subtopics represents a category. For SEO reasons I now would like to run each category...

Extending TinyMCE Wordpress Plugin with more plugins

I want to extend TinyMCE Advanced Wordpress Plugin with one of the plugins that is written for original tinymce editor package (http://tinymce.moxiecode.com/). That plugin is imgmap and I can find some steps (www.code.google.com/p/imgmap/wiki/TinyMCE_setup) to setup this plugin with original tinymce editor, but tinymce advanced wordpress...

Unable to save form values in self create table while creating wordpress plugin

Hi, I am creating a plugin for wordpress3.0.1.I have created two tables wp_subscription_options & wp_user_plans while activate the plugin. I have created admin user interface using html to save plugin setting into wp_subscription_options table. i have created two php files 1.menu.php & addoptions.php under wp plugin directory. I want to...