Skip to content
CodexSpot
  • Tutorials
  • Plugins
  • Themes
  • News
  • Resources
  • Code Snippets
  • Tools

Blog

Great articles, latest news and useful How To tutorials for you.

WordPress 5.0 Gutenberg and the web of tomorrow News

WordPress 5.0 Gutenberg and the web of tomorrow

The much anticipated WordPress version 5, codename Bebo, has finally released on 6 December 2018, leaving the world in awe. This release being the major release introduced big and exciting changes

Continue Reading
WordCamp Islamabad is set for November, 2018 News

WordCamp Islamabad is set for November, 2018

Drum roll please 🥁 as Pakistan is set to host it’s second WordCamp within a year just after 3 months of WordCamp Karachi, which was first ever WordCamp in Pakistan. Venue & E

Continue Reading
First WordCamp in Pakistan – WordCamp Karachi 2018 News

First WordCamp in Pakistan – WordCamp Karachi 2018

About WordCamp Karachi WordCamp Karachi is the first WordCamp held in Pakistan on August 4th, 2018. It was a full day event where speakers gave their sessions on technical and business topics. Word

Continue Reading
Show Admin Bar to Administrators Only Code Snippets

Show Admin Bar to Administrators Only

With this small snippet you are able to show the Admin Bar to website’s administrators only. No other user will be able to see the Admin Bar after logging in. This snippet is very useful if y

Continue Reading
Check if Device is Mobile Code Snippets

Check if Device is Mobile

With this snippet you’re able to check if the coming user on your website is using a phone/mobile or not. This function will return True or False so that you can detect it. If response is Tru

Continue Reading
Check if Sidebar has Widgets Code Snippets

Check if Sidebar has Widgets

With this Snippet and code, you can easily check if any specific sidebar or widget area has any widget in it or not. This can be useful if you want to hide that widget area if there’s no widg

Continue Reading
Check if WP user is logged in Code Snippets

Check if WP user is logged in

This small and quick snippet can be use to check if user on your website is logged in or not. You can show specific content for logged in users too with this little check.

Continue Reading
Add Class in Body Tag Code Snippets

Add Class in Body Tag

Add custom class in body of a WordPress website. You can add the class based on different conditions.

Continue Reading
Restrict Dashboard to Administrators Only Code Snippets

Restrict Dashboard to Administrators Only

With this snippet you can restrict the WordPress dashboard to administrator roles user only.

Continue Reading
Display WordPress User Information Code Snippets

Display WordPress User Information

In WordPress we have the ability to add information about ourselve in profile page. To show this information about the user, we have to use below snippet.

Continue Reading
List All WordPress User Roles Code Snippets

List All WordPress User Roles

With this snippet you can view all roles of WordPress Users.

Continue Reading
Disable JSON WP Rest API Code Snippets

Disable JSON WP Rest API

As new REST API was enabled by default in WordPress so with this peoples can access the content of your website which can include Posts, Pages, Users information etc. With this snippet you can disa

Continue Reading
Disable All Comments Code Snippets

Disable All Comments

Disable all comments under WordPress posts by this simple MySQL query.

Continue Reading

About CodexSpot

CodexSpot is a one spot for tutorials and resources related to Web Design and Development. You can also access Free WordPress Themes and Plugins.

Newsletter

Recent Posts

  • WordPress 5.0 Gutenberg and the web of tomorrow
  • WordCamp Islamabad is set for November, 2018
  • First WordCamp in Pakistan – WordCamp Karachi 2018

Useful Links

  • Privacy Policy
  • Contact Us

© CodexSpot 2018 - All Rights Reserved

Site powered by WordPress | Site hosting by AskForHost