WordPress is content management system. It makes easy to build website. Even a layman can sit and invest couple of hours to make basic website. It has really good user interface.
If you want to go with wordpress, please visit WordPress site.
Techincal Aspects
Some of basic technical backgrounds are as follow:
- It is developed in PHP framework.
- It uses mysql as database.
Examples of Custom Query
- Update wp_options table and set value from other row value of same table
- Update image description from wp_posts which is image and concat string for particular image id
- Update post type post from wp_posts table and concat string with exisiting content for specific one id
- Update post type page from wp_posts table and concat string with exisiting content for specific one id
- Select post which has id 5590
- Select some columns from wp_posts for specific id and which is either post or page as page type
- Replace post name with any string for specific id and post/page type
- Update table wp_posts as concat string with existing post_content for specific id and either post or page
- Finding all the distinct post_type (attachement which is image, post, page or other) from wp_posts table
- Selecting post_meta value _aioseop_custom_link of All in One SEO plugin from wp_postmeta table. It is for plugin table
- Insert custom _aioseop_custom_link data with post_id and meta_value for particular one id
- Replace string -replace-string with blank string from wp_postmeta
- Downloading or saving custom query output from wp_posts to posts.txt file
- Delete all data from wp_posts which not page or post type of column page_type
Update wp_options set option_value=(select option_value from wp_options where option_id=151) where option_id=151
update wp_posts ... set post_content=concat(post_content, "
Image Description
") where post_type="attachment" and id=5590;
update wp_posts set post_content=concat(post_content, "
Post Description
") where post_type="post" and id=5590;
update wp_posts set post_content=concat(post_content, "
Page Description
") where post_type="page" and id=5590;
select * from wp_posts where id=5590;
select id, post_name from wp_posts where id=308 AND (post_type="page" OR post_type="post")
UPDATE wp_posts SET post_name= REPLACE(post_name, '-relace-string', '') where id=308 AND (post_type="page" OR post_type="post")
update wp_posts set post_content=concat(post_content, "
this is string which is to concat to the existing post_content of wp_posts table.
") where post_type="attachment" and id=5590;
select distinct post_type from wp_posts;
select * from wp_postmeta where meta_key="_aioseop_custom_link";
INSERT INTO wp_postmeta ( post_id, meta_key, meta_value ) VALUES ( '5410', '_aioseop_custom_link', 'http://www.lprakash.com.np/post/' );
UPDATE wp_postmeta SET meta_value= REPLACE(meta_value, '-replace-string', '');
select id,'_aioseop_custom_link',post_name from wp_posts where (post_type="page" OR post_type="post") INTO OUTFILE '/tmp/posts.txt'
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n';
delete from wp_posts where post_type!='page' and post_type!='post';