ngp130895
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Alter WP_Query->posts?It is after a custom query.
But anyway I found out already from this https://gist.github.com/DWboutin/8863377
The trick here is to modify also the post_count of the original query because it was set to the previous amount of posts.$query->posts() = $posts; $query->post_count = count( $posts);
Forum: Plugins
In reply to: [Frontend Uploader] Files uploaded does not have info from uploader's formI have found out a way to change them so the file uploaded will have the information from the input form. However, the
post_caption
does not work, the caption in the file uploaded has same data in post_content filed.[fu-upload-form id='upload_form' title=''] [input type='text' name='post_title' id='title' class='required form-control' description='Liikkeen nimi'] [input type='text' name='post_caption' id='contact' class='required form-control' description='Yhteyshenkil?'] [textarea name='post_content' id='message' class='form-control' description='Viesti'] [input type='file' name='file' id='file-upload' class='required form-control' description='Liitteet' multiple='multiple'] [input type='submit' class='btn' value='L?HET?'] [/fu-upload-form]
I will try to add a custom post type. I wonder if the custom post type will have Manage UGC section in the menu.
Forum: Reviews
In reply to: [WP Migrate Lite - WordPress Migration Made Easy] Did Not WorkCan be because your permission on your directory. Check your directory
wp-content/uploads
permission.Forum: Plugins
In reply to: [Frontend Uploader] How to remove Title & Description fields??One other way to do this is that you change the style sheet of the selected element that you want to disable its title or description.
Let’s say you have this and you want to disable the title[input type="text" name="post_title" id="title" class="required" description="Title"]
To disable the description, you will need this in your css
label[for="title"] { display:none; }
Forum: Plugins
In reply to: [Frontend Uploader] How to remove Title & Description fields??Enter nothing between those quotation marks or apostrophes will make them showing nothing.
title=”” or description =””Forum: Plugins
In reply to: [Frontend Uploader] It always creates 2 formsSame thing happens to me ??
Forum: Plugins
In reply to: [Frontend Uploader] It always creates 2 formsSame thing happens to me ??
Forum: Plugins
In reply to: [Frontend Uploader] Contents appears from default tag?So since I dont really have to change much from the default shortcode fields, I changed the content from the plug in source code in order to show what I want.
But I still want to know what’s wrong with the custom shortcodes.