You might have seen some of the popular websites having a search icon with a nice looking toggle effect. Some of them showing full-screen toggle and some search box toggle. In this tutorial I am sharing you Steps for achieving search box toggle effect with the help of code snippets, the theme am using is Twenty Sixteen.
In this tutorial I will share various techniques which can be used to customize the wordpress login form. We will make the customization without using a plugin
Here are the things which we will cover
- Customize the logo on the login form
- Customize the logo url
- Customize the logo title
- Customize the login form field labels
- Customize the login button text
- Customize the background color of login form
- Customize the background image of the login page
- Hide the remember me checkbox
WordPress, by default, does not allow HTML tags in widget title. If you try to add HTML tags in the widget title, they will be stripped before the widget content is output. So if you want to add Line Break in the widget title, you will need to perform some code jugglery.
In this post I will share a simple technique which you can use to insert line break in the widget title. The concept is simple.
We will create a filter which hooks into Widget_title filter and dynamically add the break tag.
In this Post I will share a short snippet which will display the widget id inside the widget form.
One can also get the widget id by inspecting the html but I find that rather tedious and user unfriendly. So I wrote this short snippet. All you need to do is include it on your site and every widget form will display the widget-id.
Recently I was in a situation where I wanted to track the Pageviews for the admin panel. Since I use Google Analytics on all my websites, I decided to add it to all the admin pages.
Since there are no plugins to specifically add google analytics code to admin pages, I wrote a short snippet.
In case you also want to add google analytics to your admin panel , here are the instructions.
By default WordPress does not allow a user to add categories to Pages. However adding categories and tags to Pages is quite simple.
In this post I will share a code snippet which allows you to add Post categories to Pages. Here is what we will be doing:
- We will link Category and Tag Taxonomy to the Page
- Modify WordPress Query to display List of Pages using Category Archive and Tag Archive.
- Add the Snippet to our WordPress Website
You can also achieve the same result by using this plugin
It sounds difficult but in reality its quite simple :-). Lets start