fxfuture
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Query and return value from the database?Got it working! Here’s the correct code.
$mytext = $wpdb->get_results("SELECT post_content FROM $wpdb->posts WHERE ID = 160"); echo $mytext->post_content;Forum: Fixing WordPress
In reply to: Query and return value from the database?I’ve tried this but it’s not working and just says Array.
$mytext = $wpdb->get_results("SELECT post_content FROM $wpdb->posts WHERE ID = 160"); echo $mytext;Any ideas?
Forum: Plugins
In reply to: Menu item to edit text on pages – what plugin can do this?I’ve installed the More Fields plugin and I’m able to create a menu item with a list of editable text on the website – see screenshot here
More Fields is storing these as posts in the MySQL database.
So surely I could just query the database and call the main content of each post into the relevant page?
Forum: Plugins
In reply to: Nextgen gallery click outside the picture to close galleryI’d like this functionality too
Forum: Fixing WordPress
In reply to: Controlling content a user can edit?But I don’t her to see images, links, tables even in visual mode.
I want to create an editor for specific content areas on a page i.e. just the text.
Forum: Fixing WordPress
In reply to: Controlling content a user can edit?Sure – but for example on the biography page, there is html that includes a photo and some other stuff.
So when she goes to edit her biography instead of editing just the biography text like on a normal cms, all the html is mixed in with it.
Am I doing this wrong? Should I be putting all my html into a unique template for each page?