Tagged Questions

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

learn more… | top users | synonyms (1)

0
votes
1answer
21 views

Send/Publish a Post front end

i use this code to create a page with the user can send a post on front-end but i have a problem..when i click "submit" nothing happen. Where wrong? <?php /* Template Name: Rate Wine Form */ ?> ...
0
votes
1answer
12 views

Add/remove tags on frontend programmatically

I generated a link on the frontend toolbar to feature a post (adding the 'featured' tag). It works OK adding or removing, but the problem is showing the post. When removing the tag and then using ...
1
vote
2answers
39 views

How would I add “edit profile” and “blog post” functions to front-end?

I'm rather new to Wordpress and I've been looking around for an hour and a bit but cannot find what I'm looking for. I want to add an "edit profile" button to the author page so the user can edit ...
1
vote
1answer
30 views

How to get shortcode working from custom meta field

I've created a simple text custom meta field for pages. I can successfully enter plain text which prints on the frontend of the site with no problem. I want to add shortcodes also. If I add a ...
-1
votes
0answers
22 views

Wordpress Image Editor on Front End

I'm wanting to implement the wordpress Image Editor that is available when you upload images to the media library in the back-end on the Front-End. I have functionality in place already where users ...
0
votes
0answers
35 views

select and save custom taxonomy from front end

i have 2 custom taxonomy for custom post type event, but i can't get it to save on backend from frontend form, here is the link to site http://wheresthaparty.com/wordpress/post-party/ and here is the ...
1
vote
0answers
16 views

Let readers suggest edits from the frontend

I'd like to make my articles editable at the front-end for any reader who visits the site. (More like a wiki). I don't really want to trouble them through the registration process. I have no idea how ...
-2
votes
1answer
34 views

Static html/css/javascript front end connected to WordPress

I heard of an option to build websites by creating a static html/css/javascript front end and connecting that to a WordPress admin side or even an excel spreadsheet where the admin add content. I ...
0
votes
0answers
23 views

Create advanced/editable wordpress profile page on the frontend

I'm spending days and days traying to code a frontend user profile page where logged-in users can edit their data, but seems there is no right way to do that. Nobody on web seems to explain a secure ...
1
vote
2answers
252 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 ...
0
votes
1answer
35 views

create category upon saving post and save post in that category

What I'm trying to do is similar to this one but we have a bit of difference in getting our info. Basically, when a user creates a post (under suggestions custom post type) on my site, it is not ...
0
votes
0answers
36 views

ajax_wp is returning 0 for attempt of use in frontend

ajax_wp_nopriv_myaction is returning 0. I am trying to insert into a database by passing ajax data to a function. I know its using the javascript file, because it outputs an alert box of what the ...
0
votes
0answers
16 views

Sticky wp_dropdown_categories on Front End Form

I have built a front end posting form and I am trying to make the entire form sticky. I have used wp_dropdown_categories but I can not seem to figure out how to make it remember the selection if there ...
0
votes
1answer
152 views

ajax call in wordpress front end

In my plugin i'm using two ajax calls in back end. that worked well. but to provide the same functionality in front end i loaded the copy of these two functions with another names and my code is: in ...
0
votes
0answers
48 views

Custom frontend post not working?

Hi I am creating a custom post front end submission. This is my code to submit the custom post details. Here the validation is not working as well as it will not submit the post. When i submit the ...
0
votes
0answers
520 views

Custom Reset Password & Forgot Password Front End Forms

I've successfully been able to redirect the default wp_login.php used for all login/registration/password reset to custom pages with the following filters: add_filter ( 'login_url', xxfunctionnamexx ...
3
votes
0answers
97 views

Is it Possible to Extend WP Customize JS Methods?

I’m wondering if it’s possible to extend the methods of the anonymous api object in wp-admin/js/customize-control.js. I need to overwrite one of these methods with my own custom logic but I suspect ...
0
votes
0answers
130 views

add_post_meta not saved

EDIT I changed it to if(isset($_POST['Make'])) update_post_meta($pid,"Make", $_POST['Make']); if(isset($_POST['Year'])) update_post_meta($pid,"Year", $_POST['Year']); ...
0
votes
0answers
39 views

Native WordPress Media Uploader on WordPress Frontend

I am using a custom template on my site to enable frontend posting. I wanted to add an option to upload media(such as pictures) on this form exactly the way native WordPress backend has. In short I ...
0
votes
0answers
260 views

AJAX doesn't pass variables to the php function in the plugin

I'm creating a plugin that at a certain point has to use AJAX to pass information to php depending on the events fired by front end user on the different page. The event itself is when the user ...
0
votes
2answers
175 views

Frontend Form for Custom Post Type

I want to add frontend post to custom post types. Till now I have figured out how to do it but only to the regular post type(not custom post). I am using this code. (Couldn't paste it here hence ...
0
votes
2answers
220 views

Wordpress Frontend Check If Current User Is Administrator

I am trying to check if current user that accessing a page if administrator using current_user_can(), but it is not working and returning this message instead: Fatal error: Call to undefined function ...
0
votes
0answers
30 views

Creating multiple functions for front-end forms

I have the following situation (which I simplified for didactical purposes): page-books.php: <form> <input type="text" name="title" /> <input type="text" name="sinopsis" /> ...
0
votes
0answers
46 views

wp_generate_attachment_metadata(), display image content after post, why?

I succeed to upload and attach an image for an article created in frontend in wordpress, otherwise when I used the wp_generate_attachment_metadata() after the generation I have something like that : ...
1
vote
1answer
322 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
23 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
107 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
1answer
49 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 ...
0
votes
1answer
38 views

User count only for role frontend vendor

i use the following code for count the authors $count_posts = wp_count_posts( 'download' ); echo 'Published eBook (' . $count_posts->publish . ')'; echo ' '; global $wpdb; ...
0
votes
1answer
326 views

WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post

I have a form in a separate PHP file in the theme directory and it's being included in the sidebar of the main page template. The form is inside a Boostrap modal. I've been trying to use this code to ...
0
votes
0answers
32 views

front end or back end posting?

i want to let my users post their own content to my site. i have tried both the front-end and the back-end ways to do that. problem is: front-end way: can't find a way to display a proper preview of ...
0
votes
1answer
91 views

Get users from all/specific blog by user_role and current_user role

Something I've needed and think a fair few people might need as well is: getting users from all or a specific blog based on the user_role's of the accounts they wish to see, while also differentiating ...
0
votes
1answer
96 views

Check for uploaded file type wordpress way for multiple uploads

I have a form in the frontend that lets the user upload multiple images and other file types as needed. To process multiple files array I have followed this answer and here is the relevant. PHP ...
0
votes
0answers
53 views

How to display proper parent child heirarchy with custom taxonomy in front end

Right now I have a front end form that lists 4 separate taxonomies in checkbox inputs that a user selects. I can list all of the terms one after the other but I can't figure out out to list them with ...
0
votes
1answer
191 views

Custom Taxonomy Not Saving in Front End Post

I am trying to create a front end posting form that will allow users to create a post when schools are closed. I have 4 custom taxonomies closed_schools, study_open, safe_arrival, hour_delay. each has ...
0
votes
0answers
375 views

WordPress Front End Profile Upload the User Image

I'm building a website that allows users to register to different groups based on their field of expertise. I have managed to get a profile page on the front but I can't get the user image to be ...
0
votes
0answers
59 views

Assign Role and capablitis on frontend registration

I have created 2 custom roles "customer" & "employee" form admin "members" plugin. I am trying to assign these to user registering for site according to options (customer & employee) they ...
0
votes
1answer
203 views

How do I embed youtube video via url in frontend posting

I would like to embed videos & images by entering url in my wordpress site. In WordPress repsitory there are many plugins for embed video by url but in my site I want to enable this functionality ...
0
votes
0answers
108 views

Attaching images on frontend with AJAX to show thumbnails before submitting form

I currently have a frontend post upload form working so that users can add thumbnail attachments to a post, however it isn't possible to see which thumbnails you have attached before you submit the ...
0
votes
0answers
10 views

admin edit member profile on front-end [duplicate]

I've seen that nobody answered to this question: Let admin users edit member profiles from front end Is there a way to allow Admin editing members/users profile on front-end? Thank you.
0
votes
0answers
26 views

Editing post in admin panel

I have a front end posting form. Everythings work nice, but the custom (meta) fields i added in the form doesn't appear in admin panel post edit? I add them with add_post_meta() function. Any ideas?
1
vote
0answers
162 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
195 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 ...
0
votes
0answers
45 views

Issue with permalinks for custom post type

I have a little issue here... When i'm using default permalinks, everything works great, but when I set up %postname% permalink in settings, my template with custom post type is not loaded. ...
0
votes
1answer
317 views

Redirect after successful registration with fronted registration form

I am trying to redirect users after failed and successful registrations and logins. Everything works fine, except the redirection after a successful registration. Right now, I get redirected to ...
2
votes
1answer
68 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 ...
0
votes
1answer
27 views

Can i have more than one form for front end posting in one template [closed]

I'm building a front end post form for car dealing. I have the "if statement validation" at the begining of my template, before get_header() function, after that i have the form. Can i have two or ...
0
votes
2answers
302 views

wp_enqueue_scripts hook is not being called

I added the following code to my functions.php: if(!function_exists('bi_frontend_scripts')) { function bi_frontend_scripts() { wp_enqueue_script('jquery'); // I originally wanted ...
0
votes
1answer
129 views

Delete user from frontend

Hi I am working on a frontend admin where a user must be able to delete his account. current_user() is a custom made function of me that retrieves the user meta data. Does anyone know how I can make ...
0
votes
0answers
49 views

Custom field as Slug

I would like to ask if it's possible for a custom field to become a slug. Like if I have a custom field of "when" whose value is "today", I would like the address of the post to be ...