wordpress

CSS navigation problem

Hello, I have been trying to add another button to my navigation bar at http://hawaiiislandpreservationsociety.org/ ,but the layout messes up. What do I need to tweak to get it inline with the rest of the buttons? Much Appreciated, Azeem ...

Wordpress dynamic reply to comment not working

Any idea why? Of course comment_reply.js included correct way, Firebug not shooting any errors, but dynamic reply not working, redirecting me to the new page :( Damn! Edit: $defaults = array('walker' => null , 'style' => 'ul' , 'callback' => null , 'end-callback' => null ...

wordpress plugin, access $wpdb on non visible page

I'm creating a wordpress plugin to fetch data from another website, It will be a cron file and I need to store some data in a table. how do I access $wpdb from that file? do I need to link to a wordpress core file? I'm asking this because it's not a file that will be visible in the admin area or public area, it's just a file that run's ...

Wordpress stop post redirects

I'm having a Wordpress problem regarding permalinks. When I have a post whose permalink is say, /2009/10/podcasts, trying to access /podcasts redirects to /2009/10/podcasts. Is there any way to stop this behavior so I can handle it as a 404? I'm using a custom 404 handler that checks if the request is a 404 error and executes a Kohana ...

How to change tinyMCE editor's button's default tag output in wordpress?

Wordpress Tiny MCE editor and WP own editor both has button for <blockquote> . if we select any text and press this buttom then it wraps that text with <blockquote>.....</blockquote>. I want to change this output to this <blockquote><div class="quote_start"><div></div></div><div class="quote_end"><div></div></div>.........................

Display New WordPress Post Without Reloading Page

I am trying to load a new post in wordpress without reloading the entire page. I am not sure where to start with this. I am new to AJAX and JavaScript. Any help would be great. ...

Wordpress - call the functions in specific order

Hello, I am using the Wordpress Yet Another Related Posts Plugin to display the related posts in the RSS Feed. I also want to add additional info to the footer of RSS. However, the information that I add using add_filter() in functions.php is showing above the related posts. I want it ti display after the related posts. I concluded that...

how to apply background iframe to an image?

Hi, I am using wordpress blog on my site: http://sunite.co.uk I want to rotate background image on the current theme:Techified The background image i want to rotate using openx is: http://sunite.co.uk/images/background.html The code on the stylesheet.css for this is: /************************************CONTENTAREA*********************...

MySql used for wordpress hosting only - is that allowed without licence?

Hello, We develop a web app in postgreSQL. For our blog which runs on the business web site, we want to run it on wordpress. Are we able to install the free version of mySQL and run the blog with it or do we require a commercial licence? Our web-app has nothing to do with mySQL. Thanks ...

wordpress: Displaying a link to latest grandchild on frontpage

I have a page ("testimonials"). It has 3 subpages ("children") : "press", "people", "enterprises". Each of the subpages have their own subpages (grandchildren of "Testimonials"), which are the actual testimonials files. I would like to display on my frontpage the most recent grandchild page. How can i do that? I tried using get_pages(...

Get List of subcategory

I have this category on my wordpress: Test1 - Sub1OfTest1 - Sub2OfTest1 Test2 - Sub1OfTest2 - Sub2OfTest2 Now iam at url: http://localhost/wordpress/category/test1 I write the following code on file category-test1.php <?php $categories = get_categories('child_of=2'); print_r($categories); foreach ($categories as $category) ...

Wordpress Gallery Links

I have a Wordpress page which is showing gallery that I created by using Wordpress built-in post editor: into it here is its url: http://jalrosh.com/lylescenter/?page_id=8 Now the issue is that when I click on some image its big image opens in a new page and that is disturbing page design. It should come in the central area but it is a...

Wordpress get user id by login name

How do i get the user id from user login name in wordpress? ...

Inserting Wordpress Plugin content to posts

Hi All I am trying to learn more about Wordpress and creating plugins. I have seen an existing plugin use a technique where you can add a 'reference' to it within your posts and WP will parse it and replace it with the plugins own content. The example i am referring to is the NextGen gallery which uses the following code [nextgen id=9]...

plugins for WordPress that allow anonymous users to post entries

Are there any plugins for WordPress that allow users to create blog posts without registering and logging in? ...

Weird CSS Sidebar Issue

Here is the site in question I've got the sidebar working on any other page of the site except for this one; all of the pages have the same template. The sidebar right now is doing the old "go under the content". When I try and edit its positioning in Firebug to anything but relative and then change it back to relative, it snaps back i...

Error while installing wordpress

I downloaded wordpress, created a database, entered my information in wp-config-sample.php and renamed it to wp-config.php. When I uploaded it to my website, it didn't work. Am I missing something? ...

Error while trying to install wordpress

I downloaded wordpress, created a database, entered my information in wp-config-sample.php and renamed it to wp-config.php. When I uploaded it to my website, it didn't work. It says "Page Not Found". Am I missing something? ...

How to determine if Wordpress plugin is called from Wordpress widget

I am writing a Wordpress plugin that does string processing whenever 'the_author' filter event is fired. However, some widgets also contain 'the_author' event and subsequently my plugin is fired which should not happen. So I am trying to detect if my plugin is called from certain widgets but so far to no avail. One widget that I would li...

Getting div height with php and applying it to an image

Hi guys, as the title said i am trying to use php to get the height of a < div> element then with that value, applying to an image. This would actually shrink the image or stretch the image. As i am still new to coding, i searched online and what i found is only solution of doing it in javascript, which is something like this DivHeight ...