I've had a poke around in the TweetMeme plugin code and IANA JS Guru, but I cant find any sensible way to make specific styling changes; you can add div-specific CSS characteristics, but I'm talking about changing the resting colour and the hover colour of the button.
I've googled around and noone seems to have asked it on here so I tho...
Hi,
I'm creating a wordpress theme where the header and the nav bar are positioned absolutely, and the footer needs to be positioned relatively depending on the height of the content on each page. When I try to set the footer's positioning to relative, however, it appears at the top of the page underneath the content. All elements are i...
Using wordpress 2.9.2. I am loading my css files for plugins as they are being called, which ofcourse is after my header has been loaded. I want to insert the calls those css files in the HEAD tag of the page, which can be done if i get a hook which includes lines in the head after wp_head() has been called. Help !
...
Hello,
How can I prevent adsense ads to show up on a certain page? You see, I would like to exclude adsense from displaying on the About Us page on this website, but I'm not sure how to go about doing it...
I just had a look at my index.php file and noticed that it contained the following line of code:
<div><?php echo show_ad_camp_1()...
Hi
I have recently made a new WordPress theme (named {cssgroundup}) which I am using on my blog at www.richard-dickinson.com
It is only a basic WP theme for my personal use as I am quite new to the WordPress platform (?). It is a work in progress (as is the blog content!) however it displays alright in IE browser but not so well in Fire...
Does anyone know how to specify an INCLUDE ONLY category using wp_get_archives? I would like to specify a category but then list results by month.
I've tried kwebble's plugin to no avail. I've also found the following on WP forums, but it appears to only exclude categories. Perhaps it can be modified to do include? Even given that, I'm ...
Wordpress themes are beautiful!
Is there any guideline to use Wordpress themes in a rails app? Even better, are there rails app templates which can use the Wordpress themes already?
Thanks!
...
I'm implementing a solution in ASP.NET MVC that later can be applied to couple of other fields. To do so it will require to re-brand the UI even though the underlying business logic wont need to change. I'd like to write the code in such a way that will allow other developers to only develop code that will only changes the UI. This is si...
I have created a theme where I already have a custom options page where I let the user set text for footer, twitter user and some other things and that works well.
Now i'd like to add the functionality of letting the user that installed the theme select which font that should be used for content on the site. How can i accomplish this? I ...
Would it be quicker to make wordpress theme direct on FTP? Because client want to see the progress and if I will work on local XAMPP then it would not be possible to update any changes quickly.
How to setup theme development environment with any free and lightweight IDE for windows XP?
...
I use this to pull values from a custom field with several values:
<?php $mykey_values = get_post_custom_values('services');
foreach ( $mykey_values as $key => $value ) {
echo "<li> $value</li>";
} ?>
I want to sort the output according to the way I have set up the values in the key (alphabetically)
...
I wanted to show post from just recent post from a specific categories
so far this is what I have but:
<ul>
<?php
$number_recents_post = 5;
$recent_posts = wp_get_recent_posts($number_recents_post);
foreach($recent_posts as $post){
echo '<li><a href="' . get_permalink($post["ID"]) . '" title="Look '.$post["p...
Hi I have followed a tutorial to create and event list in wordpress using post and Custom Fields view demo
here is my code:
<?php // Get today's date in the right format
$todaysDate = date('M d');
?>
<?php query_posts('showposts=5&category_name=events&meta_key=Date&meta_compare=>=&meta_value='.$todaysDate.'&orderby=meta_value=order...
Hello!
Im new att widgets, but i have manage to write my own widget and get it to display correctly in my theme.
The only problem i have now is that i want the widget to "auto activate" in the sidebar.
So when the theme is installed on any wordpress installation the widget should be active so the user dosent need to drag it to the sideb...
I have written some tags in PHP as
<a href="<?php bloginfo('url'); ?>/?cat=<?php $cate_id ?>"><?php echo $resid->post_content ?></a>
or even this one
echo "<li><a href = '?cat=$cate_id'>".$resid->post_content."</a></li>";?>
Does this in any case affect the performance on the live server. I am no getting the image to appear on the ...
I just started out with WordPress and I'm having some problems with the custom fields. Here's the code from functions.php
add_post_meta($post_id, 'Post Thumbnail', $post_thumb, true) or update_post_meta($post_id, 'Post Thumbnail', $post_thumb);
add_post_meta($post_id, 'Project URL', $url, true) or update_post_meta($post_id, 'Project URL...
Hi
I have a Wordpress installation for a restaurant, with a menu (food) with numbers.
The menu (food) numbers dosn't go from 1-50 continuously but starts with the next 5 like this:
Lunch offers: 1-4
Chicken sticks: 10-13
Chicken wings: 15-17
Salads: 20-23
This is made, so it's easy to add something within the different categories wit...
Hello
I tried to get some help ealier, but I think it didn't make any sense, what I wronte.
Sorry for my realtivly bad English.
Wordpress: I have several categories, with a number in each description. Every category has some children. Example 4. I need some type script, that takes the category description (the number specified) and ad...
Is there any way to add custom field keys to the dropdown of the custom fields on the "add new post" page without adding the fields like in the screenshot below?
...
Is it possible to have the Parent menu to be redirected to the child menu?
As an example I want this parent item page to redirect to it's children page.
My code for displaying pages as the Main Menu:
<?php wp_list_pages('exclude=3&sort_column=menu_order&title_li=&depth=1'); ?>
here is my code for listing the children menu:
<div id=...