Skip to main content

Create views in wordpress


We can separate the posts into different views

CREATE VIEW dictionary AS
SELECT ID, post_title as term, post_content as content, post_excerpt, post_status, LEFT(post_title , 1) as first_letter
FROM wp_posts
WHERE post_type like 'dictionary' and post_status like 'publish';

Popular posts from this blog

The old company comeup with new brand MAXBEN - Logo meaning

I am so happy to design this logo for my friend Suresh Mahalingam to boost his paint business to the next level. The first step in his process is logo design. He had a clear idea about his business, processes, pricing and target audience. I just collect all those information from him and created the logo with some appropriate meanings. Check out the logo here