computermax2328 Posted May 1, 2013 Share Posted May 1, 2013 In the past I have messed around with WordPress templates and their CSS modifications. I started to dabble in template creation and I was wondering if I could use WordPress strictly for content creation and management? Instead of creating a template with header.php and sidebar.php and all that crap, can I just query the WordPress database? Mainly, I just don't want to have to upload a template. Any articles on this if possible? I Googled around in my spare time, but no in depth research. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/ Share on other sites More sharing options...
Jessica Posted May 1, 2013 Share Posted May 1, 2013 What? Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427410 Share on other sites More sharing options...
kicken Posted May 1, 2013 Share Posted May 1, 2013 Sure, you could write code to query a WordPress DB and pull out the info you want. You just have to figure out what information you need and from which tables you get it. Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427412 Share on other sites More sharing options...
computermax2328 Posted May 1, 2013 Author Share Posted May 1, 2013 I think that I am having a hard time understanding the folder structure of a WordPress template. For example, I have your website home page that I would like to look different then my posts or inside pages. The content is different as well as the look and style. Maybe I am researching for the wrong word or phrase? Like a multi-layout theme. Sorry if I am conveying this poorly. I am doing multiple things at once right now. Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427413 Share on other sites More sharing options...
computermax2328 Posted May 1, 2013 Author Share Posted May 1, 2013 Sure, you could write code to query a WordPress DB and pull out the info you want. You just have to figure out what information you need and from which tables you get it. That is what I thought. Would I have to use the WordPress php code or can I just use my own queries? Is this a best practice? If not what is? Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427414 Share on other sites More sharing options...
trq Posted May 1, 2013 Share Posted May 1, 2013 That is what I thought. Would I have to use the WordPress php code or can I just use my own queries? Wordpress stores its content in a mysql database so you can use whatever you would like to access it. Is this a best practice? If not what is? It seems like a pretty daft idea. If you want to use Wordpress as your back end it seems logical that you should be using Wordpress themes fro the front end. It will be much less work in the long runas its already designed to work with there data structure. Which buy the way are fucking terrible. If your really thinking about accessing Wordpress's data yourself, just drop Wordpress all together. You gain nothing but a nice backend interface. Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427449 Share on other sites More sharing options...
computermax2328 Posted May 1, 2013 Author Share Posted May 1, 2013 Well I mean a good backend interface is what I am looking for. Any other suggestions for a better backend interface? Usability, simplicity and mobility are a plus! Quote Link to comment https://forums.phpfreaks.com/topic/277475-wordpress-only-for-content/#findComment-1427564 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.