Everything posted by Sam Lester
-
Wordpress page structure
Hey, Thanks for your reply. The idea is that I keep the page structure from an admin point of view so that I can still use Wordpress functions to create lists of submenu items. E.g: <?php wp_list_pages( child_of=3 ); ?> I just want the parent of each section to redirect to the first child rather than having its own content. Thanks, Sam
-
Wordpress page structure
Hi, I'm putting together a Wordpress site where there are lots of pages structured as follows: Information - About Us - Contact Us - Press Is it possible to make the "About Us" page appear when you go to the "Information" page as there is no content for the info page, its more of a category than a page. I hope I haven't been too confusing! Thanks in advance, Sam
- Time script
-
Time script
Can you give me an example of how I would use the date function to pick specific Fridays?
-
Time script
Hi, I'm currently working on a Wordpress site for a radio show and I'm trying to write a PHP script which will display text when the show is on air (Fridays 2-4pm). I've just about got the time part but I don't know how to make it display on specific Fridays as the show is not broadcast every week (e.g. no broadcast next week, Christmas Day!). I don't mind updating the script each year with the new broadcast dates if that helps. Here's what I've got so far: $time = date(H); if ($time <14 ¦¦ $time > 16) { echo "On Air"; } else { echo "Not On Air"; } Thanks in advance, Sam
-
Wordpress or Wordpress MU?
Any other ideas/thoughts?
-
Wordpress or Wordpress MU?
I suppose so. I'd still like to do it with Wordpress though.
-
Wordpress or Wordpress MU?
I'd have to pay for a commercial license and for the multi site manager - approx. 450USD.
-
Hi
Welcome to the community!
-
This approximates me
Welcome to the community!
-
Newbie
Welcome to the community!
-
Wordpress or Wordpress MU?
Hi, I'm currently setting up a few different sites on different domains (not subdomains) which use Wordpress for different things (e.g. site cms, blog engine, fav gallery) but they need to share the same user database and cookies so that a user can login at one site and be logged in at the others. Is this sort of setup more easily accomplished in Wordpress or Wordpress MU? A few possible solutions I've been looking at are: Wordpress MU and this plugin to map the different domains. (Does Wordpress MU automatically share users and cookies between blogs?) Multiple Wordpress installs using the same database and different prefixes sharing the user database using this method. (I'm not sure how this would work with the cookies) What do you think? Do you know a better method? Thanks, Sam
-
Thinking of names
Cool!
-
New WebDesigner
Welcome to the community!
-
Hello.
Welcome to the community!
-
Just joined!
Welcome to the community!
-
Freelanceswitch "Rockstar Freelance" book
I've got "How to be a Rockstar Wordpress designer" and I think its great! Check out my post about it.
-
1and1 hosting advice needed
I recommend United Hosting, I'm with them and they've got a fantastic helpdesk!
-
Wordpress featured projects section
Hi, I'm building a new portfolio site using Wordpress as the CMS and I've come up against some trouble with the featured projects section. Basically I want to show six thumbnails of selected projects at the top of a project page. This is what I've got for calling the thumbnails in the featured section: <?php if (is_single()): ?> <div id="slider" class="grid_16"> <ul class="navigation"> <li class="panel_nav"><a href="#project">project info</a></li> <li class="panel_nav"><a href="#featured">featured</a></li> <li class="panel_nav"><a href="#browse">browse</a></li> </ul><!-- end navigation --> <div class="scroll"> <div class="scrollContainer"> <div class="panel" id="project"> <?php $bg = get_post_meta($post->ID, 'header', true); echo "<img src='".$bg."' alt='bg' class='project_image'/>"; ?> </div> <div class="panel" id="featured"> <div id=featured_thumbnails> <?php while (have_posts()) : the_post(); for ($p=4; $p<=24; $i++) { $featured = get_post_meta($p, 'thumbnail_1', true); $link = bloginfo('url')."?p=".$p; if ($thumbnail) { echo "<a href='".$link."'><img src='".$featured."' class='thumbnail' alt='thumbnail'/></a>"; } } endwhile; rewind_posts(); ?> </div> </div> <div class="panel" id="browse"></div> </div><!-- end scrollContainer --> </div><!-- end scroll --> </div><!-- end slider --> This is what I've got for calling the thumbnails and images in the main project area: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div id="content" class="grid_16"> <div class="grid_5 suffix_2 alpha"> <h2 class="replace">Project Details</h2> <?php the_content(); ?> </div><!-- end column 1 --> <div class="grid_9 omega"> <h2 class="replace">Images</h2> <p>Click to see larger versions:</p> <?php for ($i=1; $i<=10; $i++) { $thumbnail = get_post_meta($post->ID, 'thumbnail_'.$i, true); $image = get_post_meta($post->ID, 'image_'.$i, true); if ($thumbnail) { echo "<a href='".$image."' rel='gb_image[]'><img src='".$thumbnail."' class='thumbnail' alt='thumbnail'/></a>"; } } ?> <br/> <h2 class="replace">Other Media</h2> <p>Videos and links to live sites:</p> </div><!-- end column 2 --> </div><!-- end content --> At the moment I'm getting a weird effect where it just keeps loading thousands of copies of one thumbnail (and burning up my bandwidth). I figure this is something to do with rewind_posts() which I used to reset the loop for the second part. It probabl something really simple but I need some expert help. Any ideas? Thanks, Sam
-
Thinking of names
Hi, I've recently been trying to think of a name for a new site I want to start and I've been having trouble with it. Does anyone know any decent tools that can be used to generate words that have an empty .com domain? Thanks, Sam
-
Meshach's brother Josiah
Welcome to the community!
-
Introducing myself...
Welcome to the community!
-
Hello All
Welcome to the community!
-
Hi, I'm kinda new here
Welcome to the community!
-
A NEWBIE SAYING HELLO TO ALL
Welcome to the community!