wzshop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to remove post image as attachment wordpress?Hi riversatile,
Thanks a lot for your reply! Im not sure what you mean. Here is what i did; created a new post and clicked on the ‘add media’ icon. I uploaded a file an inserted it into the post. Then i saved the post. Now i use the WP User Frontend plugin which shows the $attach (the attachment) at the bottom of each post. I do want to keep that option, so that people can upload an attachment when they want to. Nevertheless since it saves the uploaded image as an attachment too, it displays the same image twice per post.Anyway to avoid that? Hope i made myself more clear.
Thanks a lot!Forum: Plugins
In reply to: [WP-PostRatings] [Plugin: WP-PostRatings] Google Rich Snippet on pagesMe too, anyone who knows how to implement google snippets in WP-PostRatings ?
Thanks.
Hi,
By subgallery you mean the page with the photo’s, within that album, right? This one is defined in gallery-single-template.php.Might help if you just delete the sidebar from there, and reactivate the plugin.
Let me know if this helps you.
Ok found it, just delete the sidebar and footer from the gallery plugin /template/ folder, in the file gallery-template.php. Reactivate the plugin and it should be fine;)
Let me know if it works for you.
Cheers.Ye, me too:(
this is something i would like too. I have 3 lists of taxonomies. I would like that list 2 is automatically updated with the taxonomies that are contained by the picked taxonomy from list 1, and so further.
Would be great if this was in the next update release.. Anyone who can help me to implement this functionality?
Thanksyes, the auto collapsing does not seem to work anymore.. Anyway to fix this?
Forum: Themes and Templates
In reply to: [Theme: TwentyEleven] Shows header image and h1,h2 tagsHi,
Thanks for your quick reply. I used the theme as a startingpoint for the development of a custom theme. Nothing wrong with that i guess? I renamed the theme, so i still have a child (the default) theme available.Anyone?
Forum: Themes and Templates
In reply to: tag in TwentyEleven themeOk thanks, i see. So it also has its functionality for search engines i guess?
Thanks again.
Forum: Fixing WordPress
In reply to: How to determine if post.php (dashboard) is custom post type?Sorry, this just seemed to work all along:) So use it if you like;)
Forum: Plugins
In reply to: [Plugin: Contact Form 7]Create a selectbox from database?To fully get it functioning, use this updated code:
Updated code:
wpcf7_add_shortcode('postdropdown', 'createbox', true); function createbox(){ global $post; $args = array('numberposts' => 0, 'category' => 5 ); $myposts = get_posts( $args ); $output = "<select name='cursus' id='cursus' onchange='document.getElementById(\"cursus\").value=this.value;'><option></option>"; foreach ( $myposts as $post ) : setup_postdata($post); $title = get_the_title(); $output .= "<option value='$title'> $title </option>"; endforeach; $output .= "</select>"; return $output; }
With the shortcode [postdropdown cursus] in the contactform to show posts from category 5. Put shortcode [cursus] in the mailtemplate.
cheers.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Populate Select Box from databaseTo fully get it functioning, use this updated code:
Updated code:
wpcf7_add_shortcode('postdropdown', 'createbox', true); function createbox(){ global $post; $args = array('numberposts' => 0, 'category' => 5 ); $myposts = get_posts( $args ); $output = "<select name='cursus' id='cursus' onchange='document.getElementById(\"cursus\").value=this.value;'><option></option>"; foreach ( $myposts as $post ) : setup_postdata($post); $title = get_the_title(); $output .= "<option value='$title'> $title </option>"; endforeach; $output .= "</select>"; return $output; }
With the shortcode [postdropdown cursus] in the contactform to show posts from category 5. Put shortcode [cursus] in the mailtemplate.
cheers.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Add drop down list of recent postsTo fully get it functioning, use this updated code:
Updated code:
wpcf7_add_shortcode('postdropdown', 'createbox', true); function createbox(){ global $post; $args = array('numberposts' => 0, 'category' => 5 ); $myposts = get_posts( $args ); $output = "<select name='cursus' id='cursus' onchange='document.getElementById(\"cursus\").value=this.value;'><option></option>"; foreach ( $myposts as $post ) : setup_postdata($post); $title = get_the_title(); $output .= "<option value='$title'> $title </option>"; endforeach; $output .= "</select>"; return $output; }
With the shortcode [postdropdown cursus] in the contactform to show posts from category 5. Put shortcode [cursus] in the mailtemplate.
cheers.
Forum: Plugins
In reply to: [Contact Form 7] How to add new custom shortcodeHere is some code that i created and works!
wpcf7_add_shortcode('postdropdown', 'createbox', true); function createbox(){ global $post; $args = array( 'category' => 5 ); $myposts = get_posts( $args ); $output = "<select name='cursus' id='cursus' onchange='document.getElementById(\"cursus\").value=this.value;'><option></option>"; foreach ( $myposts as $post ) : setup_postdata($post); $title = get_the_title(); $output .= "<option value='$title'> $title </option>"; endforeach; $output .= "</select>"; return $output; }
With the shortcode [postdropdown cursus] in the contactform to show posts from category 5. Put shortcode [cursus] in the mailtemplate.
cheers.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Add drop down list of recent postsHi guys,
This is the code that makes it all work. Maybe not the best script? but it does really work. Simple add this function in functions.php:
wpcf7_add_shortcode('postdropdown', 'createbox'); function createbox(){ global $post; $args = array( 'category' => 5 ); $myposts = get_posts( $args ); $output = '<select name="lstdate" id="fleet" onchange="document.getElementById(\'fleet\').value=this.value;"><option></option>'; foreach ( $myposts as $post ) : setup_postdata($post); $title = get_the_title(); $output .= "<option> $title </option>"; endforeach; $output .= "</select>"; return $output; }
With the shortcode in contactform 7 [postdropdown]. This will show all the posts titles in category 5.
Cheers!