This should be an easy one - I'm just missing something simple, I'm sure.
I have a header and want a nested, centered horizontal menu.
#header {
background:url(images/headers/header.gif);
margin: 0 auto;
height: 207px;
width: 100%;
}
/* =Menu
-------------------------------------------------------------- */
#access {
...
I am web developer working on a wordpress landing page that will lead the user into an all silverlight page. Now my programmer says this can't be done and it's not supported php conflicts with silverlight/asp and so on.
My web address will be www.maddog.net... I need the wordpress and silverlight portions of the website to reside in the...
I created a new table in the database of wordpress. Also I create a new template page to view the records in the new table, but I want to create a system paging for this data ..
this is my code
global $wpdb;
$querystr = "SELECT * FROM wp_hotel WHERE id_city = ".$_GET['city-id'];
$pageposts = $wpdb->get_results($querystr);
if ($pagepos...
Hello,
I have Wordpress blog, and the problem I am having is that the sidebar of the blog is being pushed down after the main column for the content of each post. The theme is Papercut and the PHP for each post is singe.php
http://www.mirabaz.com/wordpress/articles/cnn-ireport-features-sanaa-music-festival/
This is the home page http:...
I have a server running about 100+ WordPress sites of varying complexity and traffic volume. The OS is Windows 2003 Server running IIS 6 with the domains being managed via HELM. The thing is there are times when sites stop responding due to insufficient memory, but it has been difficult to track the particular site(s) or other culprit th...
I'm using a custom search where I have a dropdown:
<select name='Time_Available'>
<option value="" selected='true'>Any</option>
<option value='<?php echo date('Y/m/d', strtotime('+30 days')) ?>'>30 days</option>
<option value='<?php echo date('Y/m/d', strtotime('+60 days')) ?>'>60 days</option>
...
I need to rewrite some URLs to custom templates. For example, I have a page at domain.com/page, and when a user clicks 'remove' on an element, it goes to domain.com/page/?remove=54. I'd like it to rewrite to domain.com/page/remove/54.
Help is appreciated, thank you in advance!
...
Hello
Can anyone explain me what this mean :
a:2:{s:8:"scSlider";s:8:"featured";s:8:"npSlider";s:1:"4";}
How should I read these values?Tnx
...
hi,
I am looking for a tutorial on how to style my word press (hosted on word press) blog to look like my businesses home page. I would like the links to work and look the same. The site isn't completely styled in CSS, but can maybe move more of the styling to css from the HTML. Can someone point me in the right direction where I nee...
I have the following code in PHP
$ch = curl_init("http://blog.com");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
I am trying to i...
I have one Custom Post Type 'story' and two taxonomies, 'artist' and 'writer'.
I have managed to get a Custom Permalink Structure like /%artist/%writer%/%story% by doing this (resumed code):
add_action('init', 'custom_init');
add_filter('post_type_link', 'story_permalink', 10, 3);
function custom_init(){
$story =...
I need to amend (via CONCAT, presumably) something to every wordpress post if it belongs to a certain category (say, category ID 7), but I'm struggling to get it to work.
To test, I'm first trying to select all the relevant posts. So far, I have the following:
SELECT post_title
FROM cruise_wp_posts
LEFT JOIN cruise_wp_t...
Who can post an example of asihttprequest used on wordpress post?
EDIT
I want to use asihttprequest for get in one array obeject all post and relative image of my homepage http://www.notizie-informatiche.com
...
Where in WordPress is TEMPLATEPATH initially set?
...
I want to put some good avatar instead of the wordpress default. How can i do this without touching the core.
...
The WordPress codex has a lot of examples of how to register custom taxonomies with custom post types, but I couldn't find much about using built-in taxonomies (tags & categories) with cpts.
I have a cpt called listings, and I need to add the standard category and tag UI elements to the listing cpt page. I also need to do this with code...
I want to set a default class for all images in a single post eg. they have a red border. How do i do that? Something like on http://net.tutsplus.com
...
Hello all !
I have an error with my wordpress installation... I explain myself.. :
My wordpress is now on an unix based server with directadmin to manage my domains...
I have configured a new domain on witch I can access by : http://ipaddress/~username...
Then, for my personal needs, I access to this website through another domain name u...
I have a Wordpress site. I want to embed a Flash file in one of my pages, like this:
<object id="wdmmg" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
width="100%" height="100%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0">
<param name="src" value="/_flash/main.swf" />
<embe...
Hey there
I was wondering if anyone knew how to achieve 'pretty' permalinks with WordPress 3.0 custom post types?
Even with the permalink structure set to /%category%/%postname%/ - when you add a post to a custom post type, the default URL is /?post_type=event&p=20 for example.
I understand they've re-written how WP deals with custom ...