Competitions - Win With Us!
Want to win some prizes, then enter our competitions to win!

!!! ENJOY WHILE IT LASTS !!!

Ask Salomon is Offering 10 Free Review
Do you have a worthwhile product or website that needs some extra attention from our herd? Then you have come to the right place. Get a Free Review on Ask Salomon to generate unprecedented buzz.

FREE FOR THE FIRST 10 REQUESTS     Later we'll see ;-)

 

Get a Free Review today!


topbg

Exclude categories from sidebar in WordPress 2.7+

Posted by Ask Salomon in Blogging Tips, Web Development

How to Exclude specific categories from being displayed in the sidebar in WordPress 2.7 and beyond. In the following simple solution, I show you How to keep select categories from displaying in your sidebar on your WordPress pages and posts. This is very useful if you have a lot of categories, or have changed the content of your blog, have been indexed for the content and no longer wish to use or display specific categories on your WordPress site. Upon completion of this tutorial, the permalink structure of the hidden categories are still made available to the search engines, however, the categories you have chosen to hide are no longer displayed from your blog sidebar to the visitor.

Exclude Categories from displaying in the Sidebar – WordPress 2.7

  1. Locate which categories you would like to hide from displaying in the sidebar. Category ID’s can be found from the WordPress Admin Panel under Manage-> Categories. Simply hover over a category and the cat_ID=# will be listed at the bottom of your browser window.
  2. Using an FTP client, FTP to your WordPress installation
  3. Navigate to wp-includes/widgets.php and copy widgets.php to your desktop
  4. Open widgets.php with a text editor and find the following line:
  5. $d = $options[$number]['dropdown'] ? ‘1′ : ‘0′;

  6. Under this line, add the following line:
  7. $ex = “1,2,3″;

  8. Change 1,2,3 to reflect the category ID’s you would like to exclude
  9. Next, find the following line:
  10. $cat_args = array(‘orderby’ => ‘name’, ’show_count’ => $c, ‘hierarchical’ => $h);

  11. Replace it with the following line,
  12. $cat_args = array(‘orderby’ => ‘name’, ’show_count’ => $c, ‘hierarchical’ => $h, ‘exclude’ => $ex );

  13. Save the widgets.php file and upload it to your wp-includes directory on your server
  14. Go view your site. Your sidebar category widget should now be displaying all but the excluded categories.

That was it. Enjoy it :)

Don’t miss any future posts. Subscribe now to the Ask Salomon Feeds (It’s free!).

Are you a Webmaster? If the answer is yes, you might be interested in the following:

Latest Webmaster News
Webmaster Forum
Free Submission Directory

Where Webmasters from all over the World help each other with their Online Ventures.



No Comments Yet »

Free Icon Pack: Bevel Dark Social Icons

Posted by Ask Salomon in Useful Web Tools, Web Development

This Free Icon Pack is for use in your personal and commercial projects, and can be used without attribution. It may not be redistributed.

Bevel Dark is a Social Bookmark Icon Pack created exclusively for the viewers of Tutorial9. A few weeks ago we released our Free Social Icon Pack, "Bevel Lite", which this set compliments nicely for darker themed websites and projects.

The set includes 10 icons featuring the logos of popular social bookmarking sites. Bevel Dark includes 512×512, 256×256, 128×128, and 64×64 icons in .png format.

Social Icon Pack: Nurture

Source: www.tutorial9.net

Visit Ask Salomon to read more

Are you a Webmaster?

Latest Webmaster News
Webmaster Forum
Free Submission Directory

Where Webmasters from all over the World help each other.



No Comments Yet »

Create a Vector-Based Zune with Photoshop

Posted by Ask Salomon in Useful Web Tools, Web Development

What We’re Making

Zune Vector Graphic

Step 1: Creating the Background

Since our Zune is going to be a nice sleek back, let’s setup a light blue background that will compliment the black.
Create a new document that is 400×600px. Set your foreground color to a nice light blue (#b5efff) and your background color to a darker blue (#00bef3). Grab your Gradient Tool and drag a radial gradient starting at the top right corner and ending at the bottom left corner of the document.

background

Make a selection about 125px high starting at the bottom of your document using the Rectangle Marquee Tool. Set your foreground color to white and create a Foreground to Transparent gradient starting at the top of the selection running to the bottom. Then set the layer blending mode to Soft Light.

backgroundhighlight

Step 2: Creating the Body of the Zune

Set your foreground color to black. Grab your Rounded Rectangle Tool which is located underneath the rectangle tool. When a shape is made with the rounded rectangle tool, it is made with a path. The path around the object is what makes the shape a vector. Set the Radius of your tool to 7px and then draw a rectangle that nearly covers your canvas. Then apply the following Gradient Overlay.

zunebody2
zunebody3
zunebody1

Duplicate your rounded rectangle by right clicking on it and selecting Duplicate Layer. Change the color of the rectangle to #1e1e1e by double clicking the color thumbnail in the layer. Enter free transform by going to Edit > Free Transform. Then drag the top, left, and right sides about 10px into the body (each done separately). Now drag the bottom side a good 120px up from the bottom and complete your transform.

zunebody4

Then apply the following layer styles:

Outer Glow

zunebody4_outer

Inner Glow

zunebody4_inner

Stroke

zunebody4_stroke_colors
zunebody4_stroke
zunebody5

Duplicate your newest rectangle. Go to free transform, and while holding alt+shift, drag the one of the corners inward. Drag it so it is about 10-15px smaller than the previous rectangle. Holding alt makes the transform go to the center of the object and holding shift makes the object maintain its proportions. Change the color to #0f0f0f. Then apply the following Inner Shadow.

zunebody6_shadow
zunebody6

Step 3: Adding Highlights to the Body

Since we want our Zune to have a shiny more reflective appearance, like a real one, we are going to add a nice highlight layer. Duplicate your bottom most rectangle, this should be your largest one. Drag it above all of your layers and set the Fill of the layer to 0%.

zunehighlight_colors
zunehighlight
zunebody7

Step 4: Creating the Pad

Alright, we now have the main body of our Zune complete! The only problem now is that it doesn’t have any buttons on it. We need to add the touch sensitive pad and the buttons that fall on each side.

Set your foreground to black and grab the Rounded Rectangle Tool with a radius of 30-40px. While holding shift, drag a rounded rectangle onto the Zune until it appears to be the correct size. Place it in the horizontal center at the bottom of the pad, but make sure it is closer to the screen than it is to the bottom of the Zune, since it is like that on the real thing. Then apply the following Outer Glow.

zunepad1_outerglow
zunepad1

Duplicate your previous rectangle. Right click the layer and select Clear Layer Style, which will remove the out glow. Change the color to #070707. Then start a transform on it and hold alt+shift and make it about 2px smaller.

zunepad2

Now apply the following layer styles:

Inner Glow

zunepad2_innerglow

Stroke

zunepad2_stroke_colors
zunepad2_stroke
zunepad3

Duplicate your latest rectangle and clear the layer styles like we did before. Change the color to black and make it about 2px smaller.

zunepad4

Once again, duplicate your latest rectangle and clear the layer styles. Make it 2px smaller just like we did before. Then apply the following layer styles:

Gradient Overlay

zunepad5_gradientoverlay_colors
zunepad5_gradientoverlay

Stroke

zunepad5_stroke_colors
zunepad5_stroke
zunepad5

Step 5: Creating the Circular Buttons

Only two buttons to go before we have our Zune!

Create a new layer group by clicking the folder icon at the bottom of the layers panel. Grab the Ellipse Tool underneath the rectangle tool. While holding shift, drag a new circle onto the Zune for the arrow button. Place it to the left of the pad and apply the following layer styles:

Outer Glow

zunearrow1_outer

Stroke

zunearrow_stroke
zunearrow1

Duplicate your previous layer and clear the layer styles. Make it 2-3px smaller and apply the following layer styles:

Gradient Overlay

zunearrow2_gradientoverlay_colors
zunearrow2_gradientoverlay

Stroke

zunearrow2_stroke_colors
zunearrow2_stroke
zunearrow2

Now that we have the actual button made, lets duplicate it for the other side. Right click your group and select Duplicate Group. Then, while holding shift, drag it to the right side of the pad. Holding shift makes it move in a straight line.

zunebuttons

Step 6: Creating the Icons for the Buttons

Now that we have out buttons, we need to create some icons for them. Turn your grid on by going to View > Show > Grid You can change the options for your grid by going to Edit > Preferences > Guids, Grids, & Slices.

Grab your Pen Tool and create an arrow like the one shown below.

zunearrow_grid

Set the fill of the layer to 0% and then add a Stroke. The fill of the layer will change the opacity of the actual pixels in the layer while leaving any layer effects applied to it alone.

zunebuttons_arrow_stroke
zunebuttons_arrow

Repeat the process for the right button using a triangle and two rectangles.

zunebuttons_both

We Now Have a Vector Zune Graphic!

Place all of your Zune layers into a layer group. Re-size the group to be small and big so that you can see you won’t lose any quality due to the fact that everything is vectorized. Feel free to add a shadow under your final result by creating a new layer underneath your Zune and making a black oval with the Elliptical Marquee Tool and applying a Gaussian Blur.

zunefinal2

Download the PSD

Looking for more Photoshop Tutorials?

Source: www.tutorial9.net

Visit Ask Salomon to read more

Are you a Webmaster?

Latest Webmaster News
Webmaster Forum
Free Submission Directory

Where Webmasters from all over the World help each other.



No Comments Yet »

topbg
topbg

Blog Sponsors


Advertise Here
Seo Elite 4.0
Making Pay-Per_Click Bid Management Easier
Advertise Here
topbg

AskSalomon on Twitter


@AskSalomon Followers: 3350

 

    | Total Internet Marketing Solutions. DYNAMIC SOFTWARE |     | Are you a Webmaster? Visit the BevyHost Webmaster Forums |

 

 

| Privacy Policy | | About | | Contact |

Powered by WP Robot