• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WordPress Tips, Code Snippets, and How To Tutorials

  • Home
  • Blog
  • Tips
  • Snippets
  • Tutorials
  • Contact

Links

How to add a page or link to your WordPress Navigation Menu

October 24, 2015 by admin Leave a Comment

If you are using WordPress, you may want to add a new page or link to your WordPress menu. Just follow these steps below to add a page or link to your WordPress navigation menu.

  1. From WordPress Admin Menu, click on Appearance > Menu
  2. From here on left side of page, find pages box(or links)
  3. Click View All or add custom link if doing a link
  4. Find page you want to Add to menu
  5. Click check box next to page you want added
  6. Move new link to where you want it in the menu and be sure to hit Save Menu

There you go, your new menu item should now be in your WordPress menu. Hope this helps with your WordPress problem, enjoy.

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: WordPress Tips Tagged With: Links, Menus, Pagination, WordPress Admin

How to add a Link to a Random WordPress Post without using a plugin

October 5, 2015 by admin Leave a Comment

Just add this WordPress Code Snippet below to the functions.php file in your current WordPress theme to allow you to add a link to a random WordPress post without using a plugin. This is the function I used to add the “Jump To A Random Snack” Button Link in the bottom of the right sidebar here at WPSnacks.
[Read more…] about How to add a Link to a Random WordPress Post without using a plugin

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: Code Snippets Tagged With: Functions.php, Links, Widgets

How to remove website url field from WordPress comment form in StudioPress Genesis

September 25, 2015 by admin 1 Comment

If your site allows comments, you may not want the comment form to ask for a website url from the commenter. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to make it so your comment form no longer asks for the commenter’s website url.
[Read more…] about How to remove website url field from WordPress comment form in StudioPress Genesis

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: Code Snippets Tagged With: Comments, Functions.php, Links, StudioPress Genesis

How to create a shortcode to display the WordPress site url

September 1, 2015 by admin 6 Comments

Shortcodes are a very useful tool when using WordPress. There are often things you may do a lot and using a shortcode helps make it so you can use one instead of retyping a lot of content. Also, if you are a web developer, you may be creating WordPress themes/sites on a development server that will later be transferred to a client’s server. When doing this, the url during development may not be the same as will be after it is transferred over to the client’s live site and server. This can cause extra work after making the transfer editing links and other text that may have displayed the url. You can use a shortcode to find the current site url and display it based on the url the WordPress theme is currently installed on, so no matter where the theme is used, it will display the correct url, which means you won’t have to change it if you move the theme to a new url. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to create a shortcode to display the WordPress site’s current url.
[Read more…] about How to create a shortcode to display the WordPress site url

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: Code Snippets Tagged With: Functions.php, Links, Shortcodes

How to make an easy WordPress login link

July 23, 2015 by admin Leave a Comment

Are you tired of having to use the default WordPress login url to get to login to your Admin Dashboard? Today’s snack will show you how to make it so http://yoursite.com/login takes you to your WordPress login.
[Read more…] about How to make an easy WordPress login link

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: WordPress Tips Tagged With: .htaccess, Links

How to change the WordPress breadcrumbs Home link in StudioPress Genesis

May 25, 2015 by admin Leave a Comment

If you have breadcrumbs enabled in your StudioPress Genesis theme, you may want to change the WordPress breadcrumbs Home link. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the breadcrumbs home link.
[Read more…] about How to change the WordPress breadcrumbs Home link in StudioPress Genesis

If you like this then you should look up more of our WordPress Tips Code Snippets and Tutorials.

Disclosure: There are affiliate links on posts and throughout the website and if you use the links to make a purchase we may earn a commission from it. We link to these companies and their products because of the quality of the companies and not because of the commission we may receive from it.

Disclaimer: The information contained in this website is for general information purposes only and in no event will this website or its owners be liable for any losses or damages associated with your use of our website or content. We recommend that you make a backup of your website before you make updates to it. Click here to see our full Disclaimer.

Filed Under: Code Snippets Tagged With: Functions.php, Home Page, Links, Pagination, StudioPress Genesis, Templates

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3

Primary Sidebar

Hey, We Deliver... Anywhere!

Enter Email Address below to receive our snacks via email:

Join Over 1200 Readers!

Jump To A Random WordPress Tip

Copyright © 2019 • wpsnacks.com