Pete
Forum Replies Created
-
Same here I’d also like to use the pop-out feature that’s listed with the plugin. What’s going on with it? I don’t see any documentation on the pop-out feature?
Custom Date and Time formatting is explained in the documentation on the placeholders page
I’m using MultiSite as a development environment and need to show my client their website. I’m sure the plugin works fine on stand alone installations. I’ve used it before. Any suggestions on what I can try to get this to work where it is?
This is the output from Chrome console
GET http://www.example.com/sbc/wp-content/plugins/events-manager/includes/thumbnails/timthumb.php?src=http://www.example.com/sbc/wp-content/uploads/sites/4/2013/01/greater-final.jpg&h=100&w=100 400 (Bad Request)
Forum: Fixing WordPress
In reply to: Auto Registration from outside of WordPressUse AJAX and a conditional to check if your users are logged in and using a field in a db table 0/1 for if they have registered on WordPress or not. If no then display a message with link, single click posts to WordPress registration form.
I had gone over my limit with hostmonster who also has a 1000 table limit. They are basically the same company as BlueHost. Their tech support are very helpful when this happens, you can ask them to generate a file that will list each database in your account and the quantity of tables each has.
Yes just saw that, thanks for the help
I got it I didn’t update the variables
$description = $_POST['domain'];and$description = $_POST['keywords'];when I copied those functions it’s working now. Thanks againThis is my updated code, it is now adding the custom keys but not inserting the values from the form fields, you’ll see near the bottom i’ve added. domain/keywords are the custom field names and form field names
update_post_meta($pid,'domain',$domain); update_post_meta($pid,'keywords',$keywords);<?php /* Template Name: Test Form */ get_header(); if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "new_post") { // Do some minor form validation to make sure there is content if (isset ($_POST['title'])) { $title = $_POST['title']; } else { echo 'Please enter a title'; } if (isset ($_POST['description'])) { $description = $_POST['description']; } else { echo 'Please enter the content'; } if (isset ($_POST['domain'])) { $description = $_POST['domain']; } else { echo 'Please enter the domain'; } if (isset ($_POST['keywords'])) { $description = $_POST['keywords']; } else { echo 'Please enter the keywords'; } $tags = $_POST['post_tags']; // Add the content of the form to $post as an array $new_post = array( 'post_title' => $title, 'post_content' => $description, 'post_category' => array($_POST['cat']), // Usable for custom taxonomies too 'tags_input' => array($tags), 'post_status' => 'publish', // Choose: publish, preview, future, draft, etc. 'post_type' => 'website' //'post',page' or use a custom post type if you want to ); //save the new post $pid = wp_insert_post($new_post); update_post_meta($pid,'domain',$domain); update_post_meta($pid,'keywords',$keywords); wp_redirect(get_permalink($pid)); exit; //insert taxonomies } ?>Forum: Fixing WordPress
In reply to: Get two post meta keys and values print arrayExcellent thank you
Forum: Fixing WordPress
In reply to: Auto Registration from outside of WordPressAre users logged into an account in their application?
Forum: Fixing WordPress
In reply to: How to Remove "No Comments" Wording on Home Page?I really wouldn’t know that off the top of my head it can be anywhere in a theme. If you’d like contact me here [contact moderated – please keep the support in the forum] and email me the files i’ll install on my dev server and take a look then let you know what to edit.
Forum: Fixing WordPress
In reply to: Auto Registration from outside of WordPressWhy not use one of the many CSV import tools to add the users/customers into your blog?
Forum: Fixing WordPress
In reply to: How to Remove "No Comments" Wording on Home Page?Hey, I can help make that mod to your theme but would need to see the theme files.
I prefer WooThemes sidebar manager