The part of a site that visitors see and is controlled by the currently active theme.

learn more… | top users | synonyms (1)

2
votes
2answers
2k views

How can I edit a post from the frontend?

I have learned how to create a post from the frontend but how about editing it ? This is the code I am trying to create a simple frontend form for posting. Thank you
2
votes
1answer
386 views

Delete attachments from Front end

I am trying to make a simple media manager on the front end of my posts, as my site will have many authors. I want to give them the ability to delete any picture attachments that they have uploaded to ...
2
votes
2answers
547 views

Edit a post from frontend. post_tags get saved, but not separated

I'm building a CRM-Theme for Wordpress. So i post, edit and delete posts from the Frontend. I'm on a good way to resolve all problems, i think. But there is one failure. At the index there is a "edit" ...
2
votes
1answer
51 views

Frontend Post Excerpt field mapping

I'm trying to create a form with gravity forms. I need to merge two fields to one Excerpt. I can't give the Excerpt field a merge tag. So I'm trying to use an custom field. My question is now: what ...
2
votes
1answer
236 views

Frontend posting - everything saves other than checkboxes?

I have a form on the frontend of Wordpress which is saving all fields except a checkbox array. It displays and saves the correct values if I tick the boxes in the backend post editor, and the ticks ...
2
votes
1answer
243 views

Responsive Images - Generating multiple images from Theme Customizer control upload?

So, after poking around in the code it looks like the filter image_make_intermediate_size is not called by the various WP_Customize_Control() classes at either WP_Customize_Image_Control() or it's ...
2
votes
1answer
234 views

Custom user profile URLs

I have created a page "profile" that when visited with get variable of user id like: http://example.com/profile/?uid=1 Then it will display the profile details of user id 1. Now I want to rewrite … ...
2
votes
1answer
450 views

Create front end link to save post (or unpublish post) as draft

I have created a front-end posting and dashboard system for my users to add and edit their own posts. In the dashboard area, I have a list of their posts and the following options for each post: View ...
2
votes
1answer
1k views

Frontend editing, Frontend user dashboard

I am creating a website so that users can submit their articles from the front end. I have quite a few things set up: The ability to submit custom post types from the front end Blocked from the ...
2
votes
1answer
633 views

Close the media-upload thickbox right after upload is finished?

I'm working on a front-end uploader using WP's own media-uploading functions. All is well, except that I just want to simplify some UI things, like removing tabs and unnecessary information for my ...
2
votes
2answers
824 views

How to use nonce with front end submission form?

Thanks to a variety of posts on here I've managed to put together a front end submission form. After about 24 hours of tweaking I've finally got everything working including a redirect to a 'success' ...
2
votes
2answers
923 views

Autocomplete for taxonomy input boxes on a front end form

I have created a simple frontend form to allow users to submit posts - similar to the tutorial here - http://voodoopress.com/ . I also have a couple of custom taxonomies which i have as text input ...
2
votes
1answer
238 views

How could I execute my plugin just in frontend (not in backend)

I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php). ...
2
votes
3answers
6k views

Uploading avatar from the frontend

in the codepad link you can find what I am using to edit profile from the front-end. http://codepad.org/QJjDEA7p The code is working (which I got from How to edit a user profile on the front end? and ...
2
votes
3answers
3k views

Custom form, shortcode, and submit handler

I have a frontend form with a bunch of input. My requirements force me to use a custom shortcode to create the form. I have already tested a page with that shortcode. Here's my : <form ...
2
votes
2answers
2k views

Frontend Post Form Validation

OK, there have been several posts on here about frontend posting forms. I've read them all, which got me to where I am. Now every form I come across has some form of validation which seems to check ...
2
votes
2answers
521 views

edit posts through front-end

It's possible to insert posts by users through the front-end by using plugins such as gravity forms or by using wp_insert_post. However, how would one handle the editing of those posts? This has to be ...
1
vote
3answers
5k views

Create and edit posts from front end

I've created a very nice custom post type using the fantastic ACF plugin, but now I need a way for users to submit posts from the front end. Plugins like Gravity forms and Front-end Editor are nice, ...
1
vote
3answers
2k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...
1
vote
1answer
2k views

insert post & Upload post thumbnail from the front end using ajax

i have searched & searched for an explenation and have found some answers that seem to be working for other people on this topics but i havent been able to get working. This is my "form" <div ...
1
vote
1answer
4k views

Add custom post type items from frontend

I am trying to figure out on how do I make my wordpress website to be able to add portfolio items from the frontend. Plugins such as WP-User-Frontend allows posting from frontend but only works with ...
1
vote
2answers
641 views

frontend user with custom profile pages

i am building a website where the frontend users can register and they need to have custom profile pages - not the standard WordPress backend pages that the admin sees. There they can see their ...
1
vote
1answer
1k views

Modify front-end delete button to publish pending posts

I've found this helpful snippet to make a delete post link on the front-end: <?php if (current_user_can('edit_post', $post->ID)) echo "<a href='" . ...
1
vote
2answers
2k views

How to add media from front-end to an existing post?

Golden Apples Design created (as far as I know) the media upload function that many people on WP.A and elsewhere seem to recommend. But all of the Q&As I can find on StackExchange deal with ...
1
vote
1answer
39 views

Multiple Backend Users as single Frontend User

Is there a good way to map multiple backend users to a single frontend user? Basically I want to do the following, we host a blog which is maintained by multiple persons, each as it's own ...
1
vote
1answer
150 views

get_delete_post_link redirect

I am using this to allow users to delete their own posts on the front end of my site: <a onclick="return confirm('Move this post to the trash? You can restore it later.');" href="<?php echo ...
1
vote
1answer
138 views

Help with AJAX front end comment moderation

I am implementing a front end AJAX comment moderation system for a site I manage but I am having a hard time getting it to work. Right now clicking on the link that approves the comment runs the ...
1
vote
1answer
2k views

Get user input from a form

I am trying to create a form that will allow users to update their information on the front end. I am just starting to learn PHP (I know C# very well). If I use this code to create a form on a ...
1
vote
1answer
845 views

Let users create a new custom taxonomy entry from frontend (without creating a post)

I have created a custom taxonomy called "Club" (a group of people). This enables me to group posts from contributors (like tags). I use the plugin "Quick Post Widget" to let enter their posts form ...
1
vote
2answers
2k views

Frontend image uploading from edit profile page. (goldenapples)

I have been following goldenapples front end file uploads tutorial, however i do have that working for my frontend posting page, but what i am wanting to accomplish now is to add an image from edit ...
1
vote
1answer
679 views

set a chosen image-file-input as a featured image from wp frontend

SCENARIO : I allow to create posts from front-end. The form also has four image upload fields. I use the code pasted below for image attachments and setting the post thumbnail. //insert attachments ...
1
vote
1answer
235 views

Crafting WP_Query array, sort by date

question about wordpress WP_Query: 'post_type' => 'event_date' outputs dd/mm/yy ex: 31122012 I would like to order my frontend 'event_date' output not by latest WP post entry but by latest ...
1
vote
1answer
44 views

Create a shortcode that creates a form for users to edit their information

I want to make it so that logged in users can edit their information on a page in my site, so that I can avoid having them go to the admin side all together. I was thinking that I could create a ...
1
vote
2answers
347 views

How to set a custom post type to not show up on the front end

I use a custom post type in one of my sites for image slideshows. I have publicly queryable set to false/off but when Google crawls my site I see 404 errors for the URLs for my slideshows. I thought ...
1
vote
2answers
635 views

is_admin() returns true when using admin-ajax.php from front end script

Had a situation today where I was using admin-ajax.php from a front end script. As I understand it this the wp way to make ajax calls (registering my function with the wp_ajax_nopriv_myfunction hook) ...
1
vote
2answers
2k views

Front-end editing with custom fields?

I use the custom field plugin http://www.advancedcustomfields.com Is it possible to create and edit custom posts via the front end? I'd need to be able to see all the custom fields and allow those to ...
1
vote
1answer
285 views

Front-end delete account in Wordpress

is there a way for a registered user in Wordpress to have in his author page an option to delete his account along with his posts without going to dahsboard? I need a front-end option in a form of a ...
1
vote
3answers
940 views

Redirection not working in this front end post submission form?

I found this tutorial to create a front end post submission form: It doesn't matter what I type on wp_redirect( 'http://www.google.com' ); I don't get redirected to anywhere. Just the same page but ...
1
vote
1answer
1k views

Creating a multi-file upload form on the front end for attachments

I am trying to create a public form where users can upload multiple images to be attached to a particular post. I am able to get it to work with single images thanks to this post at Golden Apples ...
1
vote
1answer
261 views

Post & edit a post from front end along with upload, dropdown, and other inputs

I am following this tutorial to post from front end. I am able to post the title, content, category, tags, I would like to know is it possible to add more fields like in the image below. How to ...
1
vote
1answer
170 views

Show an image in my header.php

I want to let my customer choose any image (in my backend) and then it will be displayed in my header.php. i've found Image Widget, but it just show images in the sidebar. I want something like: ...
1
vote
3answers
889 views

Front end user creation form! How do you keep the user on the same page in event of error?

I've recently tried to add a user registration form to the front end of my site and have used the following form code (based upon http://digwp.com/2010/12/login-register-password-code discovered in an ...
1
vote
2answers
183 views

Unable to upload specific .zip file type via frontend in WordPress 4.0

I allow uploading a selected few types of files from the frontend, e.g. .zip, .mp4, .jpeg and .pdf. Till now all these file types had no issues getting attached to the post it is uploaded to. However ...
1
vote
1answer
133 views

How I upload, save and set a featured image from my frontend?

I have a form in my site. This the user register one missing person. I created a custom post type missing person, custom taxonomies and custom fields. All this input's save as well in wp. But I ...
1
vote
2answers
21 views

Adding an image to a non existing post

I am building a frontend posting mechanism. Everything is working fine besides the image uploader. I am using Wordpress Wysiwyg editor using <?php wp_editor ?>. When I click on the Add media ...
1
vote
1answer
42 views

How to access global $wp_meta_boxes variable on front-end?

Is there a way to take the global $wp_meta_boxes variable to be used in the front-end? Currently the $wp_meta_boxes is accessible on specific admin pages only. I've found a similar question about ...
1
vote
0answers
131 views

Users can't upload images on frontend if they haven't got access to the wp backend

I let users create posts and upload/attach images to that post via the frontend. This works fine. However, when I restrict the access to the Wordpress backend (/wp-admin/) via a code snippet like this ...
1
vote
0answers
175 views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
1
vote
2answers
163 views

wp_update_post via ajax from frontend

Setting: three open Tabs in browser: Tab 1: Admin edit post Tab 2: Frontend view of that post in "editing mode" Tab 3: Frontend view in "non-editing" mode (default request) I edit the post on Tab ...
1
vote
0answers
73 views

Frontend image uploading from frontend cant handle hebrew names

i'm using the insert_attachment code in my functions.php : function insert_attachment($file_handler,$post_id,$setthumb='false') { // check to make sure its a successful upload if ...