wordpress

Wordpress static pages 'SEO' ?

Good Day! I have a photostudio site running on a Wordpress. It's have a blog and a bunch of static pages. In blog we post some news and the static pages contains info about our services. We have idea to add some relevant URLs from our blog to those static pages. The links would be acquired from our blog by Wordpress Related Posts plugi...

Wordpress: Can one page have two parents?

I am developing a small site using Wordpress.org and would like multiple parents to share a child page. The purpose is that users coming to the site will for example associate "Rental Assistance" child page with the "Programs" parent and the "Housing" parent. EDIT: I do not want to simply duplicate the content since this is redundant a...

Wordpress per-category feeds have generic titles

I'm actually not sure if this is a configuration issue (with the theme) or a PHP issue (in which the relevant template simply is buggy)... I have a Wordpress-powered blog in which I make extensive use of categories to group posts. However, the per-category syndication feeds produce items whose titles are just the name of the blog and the...

How do I customize my Wordpress search form?

hello, Mission i would like to customize the search field and button on my wordpress blog. the search textfield and button i have in mind will have 3 states: off :hover :focus so i will need to have 3 different DIV ids for each of these 3 states. Search's Text Field specifics additionally I will need there to be the text "search s...

WordPress: Assigning widgets to individual pages

Are there any plugins or hacks that allow assigning widgets to individual pages? EDIT: Using self-hosted (.org) 2.8.4 An example of use would be: when you're editing a page in the admin, you'd ideally have the ability to assign widgets to that specific page. The default WP behavior is more "all or nothing" in that you assign widgets to...

Only date certain articles on Wordpress?

Hi, I'm setting up a Wordress installation where I want some of the articles to show the date they were posted, and other articles to leave the date out. I'd like these articles to be completely dateless, if possible, so they only show in category archives and not in date archives. I'm guessing I can tweak the templates to show the dat...

Using the php substr on the_permalink() in WordPress

Hello everybody! My urls for posts in WordPress looks like this: http://localhost:8888/blabla/book/yes-vi-testar Using the_permalink() would generate "http://localhost:8888/blabla/book/yes-vi-testar" but I want to cut the first 34 characters to get a string like "yes-vi-testar". How do I use php substr in a case like this? I'm confused...

Asynchronous UpdatePanel within WordPress Post

I am demoing bit of JavaScript in a WordPress blog post that randomly produces some content. I'd like the user to be able to click a button and regenerate new random content via the script, and I'd like to do it asynchronously. Does anyone have experience getting AJAX elements to work WITHIN WordPress blog posts? Or is there a simpler me...

How can I stop PHP notices from appearing in wordpress?

I know about error_reporting(0);, and ini_set('display_errors', false);, but there is a notice appearing in wordpress: Notice: Array to string conversion in /var/www/vhosts/treethink.net/subdomains/parkridge/httpdocs/wp-includes/formatting.php on line 359 it only appears in wordpress, not in any other pages of the site. I checked ...

wordpress: How can I display multiple pages on one page?

Let's say I have three different pages, page1, page2, and page3. I want page1 and page2 to display on my static front page. Do I restrict the loop to only pull page1 and page2, or do I need to start the loop, test for name="page1" or something like that, and then print? Thanks! -Joe ...

line-height is messed up when using sIFR

When using sIFR on the titles (.content h1.pagetitle) in my WP theme, it somehow messes up the spacing and pushes the title down. The actual flash video is the same size as the font, so I think it has something to do with CSS, though I've tried just about everything I could think of and can't get it lined up properly. Here's a link to th...

Sharing WordPress session cookie with MediaWiki

This is very similar to a question posted last September, but I haven't come across any working solutions for it (and am not versed well-enough in session cookies to do it myself). If I'm having the user authenticate in WordPress, how do I read that session cookie with MediaWiki such that the user then has permission to edit the wiki? I'...

Wordpress search goes to mainpage

I have made my search to work as Ajax request. So when user clicks search, my javascript will catch that submit event and loads content from href of search form submit, but my problem is that I get mainpage where search results are inserted. How can I make search page to contain only search related html? ...

Displaying code snippets in wordpress.

Ok, not technically a programming question but I want a plugin for my wordpress blog that displays code snippets. Can anyone here recommend a good one? Also, do you guys know which one Jeff uses on codinghorror. That one looks really good. Thanks. ...

WordPress auto generated thumbnails issue

I have the following code to pull the auto generated thumbnail images from a post which I use to display in the archive page. The code works fine on my local server but as soon as I uploaded it to the web, it doesn't work. ----EDIT----- What it now displays is the same thumbnail for every post, the one linked to the first post entered...

Why doesn't Wordpress plugin 'WP-Syntax' color Java well?

Look at this post for example - the C# examples are highlighted very well, but the Java ones are poor. I'm using the latest version of WP-Syntax BTW, does this belong on UserVoice or here? I couldn't quite decide. ...

What is the right way to modify a wordpress query in a plugin?

Basically i am playing with a plugin that allows future-dated posts on archive pages. My question is broader than this specific functionality, but everyone likes some context. I have my head around many of the plugin development concepts, but must be missing something very basic. I can successfully rewrite a query that gives me the res...

Wordpress Default Widgets

Ive created a wordpress theme and when I submitted it to their directory I was told I needed to have some default widgets. Ive been trying to find out how to do this but can't find anything on the matter. Please help. ...

Which additional securities do you add to your open source cms installations?

I know that being open source does not necessarily makes a program more/less secure than closed source (let's assume this neutrality, to keep flames out of this post). Fact is: since the source code is open, everybody knows your defaults urls, default administrator logins, etc. I'm using Wordpress and Joomla in some projects of my clien...

How to remove a function programmatically in a WordPress RSS feed ?

I'm trying to remove the the_guid() function that appears in feed-rss2.php. I've tried remove_action('rss2_item', 'the_guid') or remove_filter but nothing happens. I’ve also tried different hooks like the_content_rss... The function appears on line 43 of feed-rss2.php, enclosed by <item></item>. Update With echo current_filter(), I fo...