WordPress Optimized!

More than just another WordPress site

Menu
Skip to content
  • Home
    • Privacy
    • Disclaimer
  • Index
  • Plugin
  • Errors
  • Troubleshooting
  • Security
  • Code Snippet
  • Performance
  • 2BearStudio

Category: Code Snippet

  • Code Snippet

How to Create a WordPress Plugin

  • Posted on September 15, 2014November 26, 2015
  • by Jerry Wang

Plugins are ways to extend and add to the functionality that already exists in WordPress. We don’t have to be a dedicated plugin developer to write WordPress plugin. There are situation where we need to alter some existing functions, or…

Read More
  • Code Snippet

Dynamically Populate a Select field from Custom List

  • Posted on August 22, 2014January 2, 2016
  • by Jerry Wang

When we start using Custom Post Type & Custom Field to enrich our WordPress website, to meet various real world situation, building relationship between different datasets becomes a common practice. A simple example, is project & client relationship. If we…

Read More
  • Code Snippet

Take Control of Post Revisions

  • Posted on August 20, 2014August 20, 2014
  • by Jerry Wang

WordPress revisions system saves a record of each saved draft or published update. This feature is important to site owners, because it provides some sort of “backup” for the content in case you accidentally edit posts the wrong way. By default, WordPress…

Read More
  • Code Snippet

Quick Fix for Working with Absolute Path on Temporary URL

  • Posted on August 3, 2014November 24, 2014
  • by Jerry Wang

Can’t think of a better title, here is the scenario: After creating a new account at hosting service provider, we are normally assigned a temporary URL before link this hosting account to domain of final production site, for example: http://hostingserver.com/~username.…

Read More
  • Code Snippet

How to Make TubePress Responsive

  • Posted on July 5, 2014July 9, 2014
  • by Jerry Wang

TubePress is a well-designed plugin that brings YouTube or Vimeo video gallery into WordPress website. With easy CSS hack, we can easily fit TubePress video gallry to different theme. But out of the box, TubePress doesn’t offer responsive option. How…

Read More
  • Code Snippet

Redirect User Registration to Custom Registration Page

  • Posted on June 21, 2014September 15, 2014
  • by Jerry Wang

Let’s say we’ve customized a beautiful user registration form, with extra fields, well-designed interface blending nicely with the theme. But how about when you type in this url: http://url/wp-login?action=register Well, because we allow “Anyone can register” in general settings, the…

Read More
  • Code Snippet

Change Howdy User Greeting Message on WordPress Admin Bar

  • Posted on May 23, 2014May 23, 2014
  • by Jerry Wang

“Howdy, $user” is the default greeting message on the top right corner after successful user login. I didn’t give it a second thought until today. I got a request asking me to change the greeting from “Howdy” to “Hello”. Sounds…

Read More
  • Code Snippet

List All WordPress Posts by Category

  • Posted on May 6, 2014May 6, 2014
  • by Jerry Wang

If you are looking for a way to automatically generate a post index page, with all the post title & link in a WordPress website, the simple way is to use WP_Query, with “posts_per_page=-1” as $args. There are ways to…

Read More
  • Code Snippet

Password Protect wp-login.php

  • Posted on May 5, 2014July 11, 2014
  • by Jerry Wang

In previous post, I mentioned a security tip called “Password Protect WordPress Admin Directory (wp-admin) for Enhanced Security“. Beside http://your-url/wp-admin, there is another login link to your site, which is http://your-url/wp-login.php. Matter of fact, http://your-url/wp-admin still requires access to file…

Read More
  • Code Snippet

Password Protect WordPress Admin Directory (wp-admin) for Enhanced Security

  • Posted on April 17, 2014May 5, 2014
  • by Jerry Wang

Everyone knows WordPress well type http://URL/wp-admin for login, so does hacker. Other than using stronger password, there is another way to protect yourself. That is “password protect admin directory”. It adds and additional level of security, works somewhat like two-step…

Read More

Posts navigation

Previous Page Page 1 Page 2 Page 3 Next Page

Recent Posts

  • Make Uncode theme working on your DreamHost shared hosting account
  • Remove /?doing_wp_cron from URL
  • My New iMac Setup Troubleshooting
  • How to Replace Huge Image with Optimized Version the Easy Way
  • How to disable Guternberg Editor – the new Block Editor in WordPress 5
  • How to increase Max Input Vars on DreamHost shared hosting account
  • How to Upgrade to WordPress 5.0 without losing Classic Editor
  • WordPress Security Tip – Avoid using these usernames
The Ultimate Managed Hosting Platform

Recommended WordPress Hosting

Web Hosting  Fastest WordPress Hosting

Coupon & Promotion

  • 10% saving on S2Member Pro (Single-site)
  • 10% saving on S2Member Pro (Unlimited-site)
  • Hostgator 25% off coupon: 25offhosing

WordPress Themes & Plugins

 

Tags

.htaccess 404 500 add_filter() Admin Archive Backup BackWPup Block Editor Coda Cron Custom Post Type DreamHost Email Error Guternberg Hack IfModule Login Membership Menu mobile password Performance PHP Plugin redirect Registration Responsive Revision Search Security Settings SSH Theme Troubleshooting Update WooCommerce wp- WP-CONFIG.PHP wp-login.php wp_query() wp_redirect() WP_TEMP_DIR WSOD

Recommended Plugins

  Gravity Forms Plugin for WordPress   s2Member® (WordPress Membership Plugin)

Categories

  • Code Snippet (30)
  • General (17)
  • Mobile (3)
  • Performance (9)
  • Plugin (23)
  • Security (17)
  • Troubleshooting (29)

Archives

© Copyright 2023 – WordPress Optimized!
Retina Theme by WPAisle ⋅ Powered by WordPress