JustWP

WordPress Themes, Plugins, Tutorials, Tips And More…

Category: Snippets Page 1 of 14

What Are The Reasons To Learn C #?

The C # offers various basic and advanced C # concepts. C # language is both for beginners and professionals. C # is a .Net Framework programming language.

The C # consist all C # themes, control instructions, Read More

Ten ‘Must’ WordPress Snippets

Programming-4

Remove or Hide Admin Menu Links for Certain or Specific Users or Roles

The following snippet will let you remove as well as hide admin menu links for certain users or role.

Source: Snipplr

Get all media attached

Read More

WordPress Event Themes Collection For You

15 Most Useful And Required WordPress Snippets

Computer Program

Change footer-text in WP Admin

Using the code will change the text in the bottom of the WP admin pages.

Include Future Posts in RSS Feed

Adding the snippet to your theme’s functions.php file will let you appear your future posts in your RSS feed.

Remove meta-boxes

Using this snippet, you can remove the meta-boxes you don’t use.

Remove Gallery Settings

Gallery setting often make you irritated. The following snippet will simply remove all the gallery settings from the media upload section. All you have to do is simple add the code in your functions.php file.

Remove Login Shake

The following snippet has to be added to functions.php and it will remove the “wrong password” screen shake.

QR Code With Article Link

To have the QR-code rendered for every article, just insert the following snippet inside the WordPress loop.

Detect iPhone Users

The following snippet will helps you detect visitors which are using an iPhone, allowing you to create a better experience for them.

Remove Pages Columns

The code will allow you to remove a column from pages.

=&8=&

10 WordPress Snippets That You Don’t Want To Miss

Computer Programming

Update WordPress URL

Adding the following snippet to function.php file will let you update WordPress URL

Source: Snipplr

WordPress WP_ Settings

The snippet let you set some WordPress directories / paths directly to the server name.

Source: Snipplr

Access Request URI for template reuse

The following snippet will let you access request URI for template reuse

Source: Kovshenin

WordPress Widget

Read More

WordPress Snippets – The ‘One’ You Don’t Want To Miss

Programming-4

Loading All Posts From The Current Week

The following snippet will allow you to load all the posts from the current week.

Source: MarketPress – Christian Brückner

Breadcrumb Without Plugin

While there are numbers of plugins available to breadcrumb your WordPress blog or website BUT what if you can do the same with simply adding the following snippet at your theme’s functions.php file.

Once done, open header.php and call the function:

Source: emoticode.net

Changing Dashboard

Read More

Snippets Collection 5

WordPress

Author Bio Excerpt

The snippet below will let you have the author bio excerpt.

Disable Self Trackbacks

The following snippet will let you disable self trackbacks.

Remove Login Shake

The following snippet has to be added to functions.php and it will remove the “wrong password” screen shake.

Only Show Admin Bar To Administrators

The following snippet will let you show the admin bar to administrators.

QR Code With Article Link

To have the QR-code rendered for every article, just insert the following snippet inside the WordPress loop.

Snippets Collection 4

WordPress

Disable Plugin Updates

The snippet below will allow you to disable plugin updates.

List all categories with posts

The snippet below will let you list all categories with posts.

Override WordPress and Site URL

The following snippet will let you override WordPress and site URL.

Get the first link in post

The following snippet will let you get the first link in post.

Check if sidebar has widgets

The snippets checks that if a sidebar of your website having any widget areas in it or not.

Snippets Collection 3

WordPress

Redirect your Author archive link to your “About” page

The following snippet will let you redirect your author archive link to your website’s about us page.

Change Image Path Only

The following snippet will let you change image path only.

Add Thumbnails in Manage Posts/Pages List

The following snippet will let you add thumbnails in manage posts/pages list.

Checks if the visitor is from mobile device

The following snippet will let you checks if the visitor is from mobile device or not.

Add titles to previous_post_link

Read More

Snippets Collection 2

wordpress-logo

Temporary Maintenance

The following snippet will let you temporarily close down your site for visits while your website can still be accessed by admins resulting in letting you do the changes that you are planning for

Add featured images to WordPress feeds

The snippet below will let you add featured images to WordPress feeds.

Set Minimal Comment Limit In WordPress

The following snippet will let you set minimal comment limit in WordPress.

Allow PHP in WordPress Text Widgets

The following snippet will allow PHP in WordPress text widget.

Page 1 of 14

Powered by WordPress & Theme by Anders Norén