So, the basic idea is to register “Page Builder” page template, and use it to toggle/switch between Visual Editor and Page Builder when user change the page template.
To follow this tutorial easier, you can download the source code:
Page Builder is very popular in WordPress. This post is not about how to use page builder. In this tutorial, we are going to build page builder plugin from scratch.
It’s not going to be a complex page builder, a simple one so we can understand how the code works, and possibly use it as base/example for more complex system.
Today, this site finally reaches a new milestone, 500+ page views/day. Even though it’s very low, I decided to add ads in this blog.
This blog uses full content in archive, and I’m breaking long content using manual “read more tag” (not using excerpt).
Note: You can add more tag using the editor toolbar or using <!--more--> in text editor.
I want to add the Ads in all blog post after read more tag, so technically when visitor click the read more, they will see ads on the top of the page.
It’s tricky because when we use the_content filter, WordPress already transform <!--more--> tag into HTML tag, something like <span id="more-1325"></span>. Here’s the code:
When I write f(x) Photo Tag plugin, I think it’s best to put the menu under “Media” because it’s simpler, and also make sense.
Sometimes we want to add custom post type admin menu as sub-menu item on other post type or under settings page, because it make sense (not all post type need to be parent menu), and I like this approach because it make WordPress Admin cleaner.
I feel that I try to do too much this time. Not only I’m busy with client work, but I also have tons of unfinished project. It’s time to be honest and list all what I want to do and prioritize my tasks.Read MoreTo Do List Overload
In responsive design, usually we use percentage width for sidebar and content width. It’s easy to do. For example 60% content with 40% sidebar. So both Content and Sidebar width will scale using this ratio.
This approach is widely use, but I don’t personally like it. I prefer to have a fixed width sidebar, like this:
Implementing fixed width sidebar in responsive design is actually possible (even though it’s a little tricky).
In this post I will cover both 2 column and 3 column layout with full example.
Note: I’m not using JS to create the layout, And I also did not use calc() CSS because a lot of browser don’t support this yet.
There are 3800+ Free WordPress theme available in WordPress.org Theme Repository. Premium theme business is hard because there are tons of free options available.
Of course, to make a user spend $50 for a theme is not easy just by “pretty design”. Theme need to set it self apart from the “free” version so this upgrade worth the money.
Not all plugins works well out of the box. Some plugin require a theme support, from simple CSS tweak to template files modification.
As a theme developer, it’s hard to choose which plugins I should support in my theme. It takes time to do this, and theme developer also need to “watch” these plugins to make sure all is working well for latest version of each plugins.
I watch a lot of Korean Drama. Probably around 50+ titles so far. It’s my guilty pleasure.
I watched several US series like “Friends”, “How I Met Your Mother”, “Big Bang Theory” and all was fun only in first couples season. If the series is popular they will keep it going until it turn bad and no one enjoy it. They will end the series with a bad after taste (most of the time).
I prefer Korean Drama because usually only contain one season and that’s only 12-20 episode. But series in this list is even shorter. Only max 3 episodes.