Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sam Lester

Members
  • Joined

  • Last visited

Everything posted by Sam Lester

  1. 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
  2. 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
  3. Thanks!
  4. Can you give me an example of how I would use the date function to pick specific Fridays?
  5. Sam Lester posted a topic in Server Side
    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
  6. I suppose so. I'd still like to do it with Wordpress though.
  7. I'd have to pay for a commercial license and for the multi site manager - approx. 450USD.
  8. Welcome to the community!
  9. Welcome to the community!
  10. Welcome to the community!
  11. 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
  12. Welcome to the community!
  13. Sam Lester replied to a post in a topic in Web Designer Forum Introductions
    Welcome to the community!
  14. Welcome to the community!
  15. I've got "How to be a Rockstar Wordpress designer" and I think its great! Check out my post about it.
  16. I recommend United Hosting, I'm with them and they've got a fantastic helpdesk!
  17. 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
  18. 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
  19. Welcome to the community!
  20. Welcome to the community!
  21. Welcome to the community!
  22. Welcome to the community!

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.