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

learn more… | top users | synonyms (1)

1
vote
1answer
23 views

How to add a user profile page to frontend?

I am looking in using wordpress for ecommerce by using woocommerce, as a newbie i don't know how to set up a user profile page outside wordpress installation (so the clients don't see the back end ...
0
votes
0answers
15 views

front end avatar with plugin Basic User Avatars for custom template

I try make front end upload with my custom template profile in front end. But it don't work. Somebody pls help. i follow code from this topic to make a custom template How to edit a user profile on ...
0
votes
1answer
26 views

How to set up an auto delete post?

I want to create a form in which when a front-end sets a date and on that date the post gets automatically deleted. Is it possible?
0
votes
0answers
23 views

Front-end Posting: Allowing user to view/edit their pending post

So, I have a front end set up. I can write and submit a post. I have a list of my published and pending posts, which I can view and edit as an admin. I created a subscriber, but 'he' cannot access ...
0
votes
1answer
26 views

Redirect users after first login

I want to redirect my users to a page after they logged in for the first time. I also noticed some solutions like a redirect after the user was registrated (redirect after first 48 hours) but the ...
0
votes
0answers
22 views

Any helpfull suggestions with my new front-end login system? [migrated]

After some googling for about 2 days, I am here with a simple wordpress front-end login system: // Limit admin access to admins function wp3344_checkRole(){ global $wp_roles; $currentrole ...
-1
votes
0answers
20 views

Allow users only video upload to his profile page via front end page? [closed]

I've been working lately on a project and I need a way or code snippet to let users upload one descriptive video via front end uploader page. The video gonna show in the profile of each user.
0
votes
0answers
5 views

Invoke Wordpress' cropping tool in the front end

Is there a standard way to invoke Wordpress cropping tool in the front end? I'm asking about the one available in the media library on attachment page, when 'edit image' button is clicked.
0
votes
0answers
7 views

Subscription to then post/edit a custom post type

I'm trying to find a way of creating a sign up page where a user signs up with a monthly recurring fee to then add/edit one custom post type and ACF custom fields from the front end, if the users ...
0
votes
0answers
9 views

New email activation when email is updated on profile frontend

First, sorry for my English. I allow my users to change their email. it works but I want that if a user changes his email so he receives an email to confirm his new email address. This prevents a ...
0
votes
0answers
15 views

Frontend + Backend Language based on User Setting

My Situation: Most recent Version of WordPress installed Multisite Environment WPML Plugin installed (Most recent Version) Goal: I'd like my Users to be able to Choose their Language at signup ...
1
vote
0answers
48 views

AJAXIFY WordPress Theme Frontend menu

I have the next code in my functions.php add_action('wp_enqueue_scripts', 'my_frontendscript'); function my_frontendscript() { //registering script wp_register_script('frontendscript', ...
0
votes
1answer
44 views

Create Wordpress bio without backend

I am trying to give users the option to create a user bio, so that it will be displayed in author boxes. However, I do not give my users the option of going through the backend of my website. How ...
0
votes
1answer
35 views

Reason action hook won't work with update_post_meta from frontend form? Alternative?

The code below works when I am inserting a post/using add_post_meta when submitting a form. The page refresh is flawless (see How can I fix a slow redirect after form submit from frontend (no ...
0
votes
1answer
58 views

There's an image named g.gif somewhere in my WordPress site

I am looking for this pixel which appears full width in my mobile site, so I want to remove it. Image URL: ...
6
votes
1answer
107 views

Stop/Pause WordPress Heartbeat using Javascript

I use the WordPress heartbeat to check a setting on my server from the front-end. If that setting has a specific value I want to stop bothering the server. There for I want to stop/pause the ...
0
votes
0answers
82 views

Update ACF fields on a frontend form?

I have the form below to update posts in a custom post type. In my custom post type I have some ACF fields which I also need to be able to update, but unsure how. I can update my default WordPress ...
0
votes
0answers
52 views

Post/Edit/Delete Post From Frontend… How?

I've been given the challenge (challenge for me anyhow) of creating a way for website users to post/edit/delete posts based on their user name. I'd actually prefer to code something like this myself ...
0
votes
0answers
20 views

Update a string from the front-end

I want to have a form with a submit button, that every time the user clicks on submit, it updates a string (named order_string) and sends it to the back-end form to process. This is a part of my code ...
0
votes
1answer
48 views

Showing user profile data on front-end

I'm making a profile-page so my members can update they're details trough the front-end. The problem is that the select-box named "Province" won't show the correct data when the page loads. How can i ...
0
votes
0answers
9 views

Why does wp_insert_post take longer than media_handle_upload?

I've got a page on my Wordpress site where users can submit posts or documents through the front end. I use wp_insert_post for the posts, and media_handle_upload for documents. wp_insert_post takes ...
0
votes
0answers
72 views

How to create custom frontend php page via plugin

I'm new to wordpress development and was wondering how to create a custom php file (like: mysounds.php) which would use a php file in my plugin directory. So in other words: I create a php file in my ...
0
votes
1answer
50 views

How to request admin-ajax.php correctly when wordpress URL and site URL are different?

When site_url() and home_url() are different, how a request should be directed to admin-ajax.php (both in front-end and admin)? Using A. admin_url('wp-admin/admin-ajax.php') or B. ...
1
vote
2answers
34 views

How to change the color theme per post?

A client of mine wants to be able to choose between a dark and a light theme each time he publishes a post. What's the best way to change the color of a theme per post? I thought in creating a ...
0
votes
1answer
23 views

Add a image to a post published on a CPT from the front-end

I created a CPT with a page where you can add posts from the Frontend. This is the code in the fuction.php: // Hook into the 'init' action add_action( 'init', 'register_cpt_promociona', 0 ); if ( ! ...
0
votes
0answers
26 views

Limit access to pages based on role

I'm looking for recommendations on how to limit page access by role on the front end. No plugins please, i'm looking for most robust code approach. I'm considering using a page meta field to store ...
0
votes
1answer
82 views

Extensive search filtering and results->PDF in the front-end

Is it possible to implement the following, and if so, what is the best (or one of) the ways to do so: The setup: A custom post type 'listing' Custom taxonomies: 'artist', 'price', 'location', ...
0
votes
0answers
6 views

how to create a upload page that sends images directly to other page..?

I want to create a page that have upload button and some text fields.so that when user upload a image that image will directly display to other page along with the values that user enter in the ...
0
votes
0answers
89 views

Featured image do not show in woocommerce

I have written a plugin to allow my clients to add products to woocommerce from frontend. I have setup everything I can think of: - add post as product and as image attachment in table _post ...
0
votes
1answer
27 views

Disabling “View” mentions from backend?

I'm using wordpress as a content manager or something, so i'm using backend only (and i've disabled the frontend with a ghost theme which redirect to the admin panel). The question is: how could i ...
1
vote
1answer
17 views

How to add notifcations to front-end menu for users when they recieved replies?

So I get this theme were people can interact with each other, send message, gifts, chat, etc. I want the menu, or the button "My profile" to change and add a notification symbol, notifiying the user ...
0
votes
1answer
49 views

Front-end CSS Library for plugin [closed]

I'm looking for a CSS library that can style elements I display on the client-side (front-end) of a wordpress website. The CSS library needs to be able to work with most of the wordpress themes, which ...
0
votes
0answers
57 views

How to clone a post through frontend?

I need for my cliente to have the ability of clone/duplicate a custom post through the frontend? Are there any plugins or hooks/functions that I could use? I'm using ACF frontend forms to add the ...
0
votes
1answer
181 views

Implement Autocomplete for a custom field on Wordpress Plugin Frontend

I've setup my plugin to be used on the frontend using a shortcode. I have managed to use an autocomplete form on a previous website I programmed from scratch (not WP based) but I don't understand how ...
0
votes
0answers
43 views

Delete Users using a Front End Form

I viewed this question and would like to see how it was solved. I've been looking all over for help with this. I'm not sure if this link needs to be used within a <form> element. This is the ...
1
vote
1answer
70 views

How to make front end form only accept certain values

I have a front end form, I need that form to attach a taxonomy term to the post, however, I have offered users a dropdown of options, 'a dropdown of custom taxonomy terms.' To create this drop down i ...
0
votes
0answers
42 views

Prevent the display of junk characters using wp_generate_attachment_metadata from front end

I am using a front end form for submitting posts and in the instance that the user does not attach an image, I am setting default images that already exist in the media library to attach at random to ...
0
votes
0answers
84 views

WPML. How to connect post translations from frontend form ( or throught php )?

My task is that user should be able to create posts from front-end. I'm using ACF plugin, for creating forms on front-end. My web is in 2 languages: Rus and Est. User can create on one of that ...
-1
votes
2answers
1k views

Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]

What I'd like to achieve is managing tables in the front-end of a WordPress page the same way as MS Access does. So, I'd like to show dependent cascading dropdown which are related by foreign key and ...
0
votes
1answer
179 views

advanced custom fields plugin last input field in new posts

I have a problem with front end update on post + advanced custom fields plugin it does not clear the input on new post. It does insert or update the form correctly but when you got there for first ...
0
votes
2answers
72 views

Setting field not saving on front-end

I'm creating a theme option page and i try to display the values of two input in my front end : function register_my_header() { register_setting( 'header_options', 'header_options'); } ...
0
votes
0answers
51 views

Are nonce really needed in frontent AJAX?

While doing some Wordpress development, I found that many frontend plugins, like contact forms, are using nonce values. Are they really needed? From security point they don't do much, as scraper can ...
0
votes
1answer
111 views

Front end page submission form does not attach custom post type

This side of WordPress is completely new to me, but is also extremely important. I have created a form that allows me to upload a page, with all the parameters I need, however a custom taxonomy is not ...
0
votes
0answers
83 views

echo wp_editor to screen with formatting

I've created a custom field containing a content editor (including formatting toolbar) I can save any inputs such as text, font colour etc with no worries. I am however struggling to out put the ...
0
votes
1answer
454 views

Add a title to ACF form from frontend

I'm using ACF to make custom posts from the frontend. I created a page in my theme, with the code: // generate post title on submit function auto_title_insert( $value ) { $value = ...
3
votes
2answers
650 views

Redirect user using the 'wp_login_failed' action hook if the error is 'empty_username' or 'empty_password'

Background I'm attempting to make a seemless frontend login for a blog, while still leaving wp-login.php available to those users who know how to get there. wp-login.php is also required to ...
0
votes
0answers
82 views

WordPress media uploader - upload tabs not hiding

I'm in the process of adding a front-end post editor to one of my sites. In doing so, I need to prevent certain users from being able to upload media. I have things "kind of" working but there are a ...
0
votes
0answers
47 views

Uploading two (seperate) files from the front-end

I have a (custom) post which users can submit/post from the front-end. Part of the custom post is 1) an image attachment (postImage) and 2) a PDF attachment (postFile). I am able to get the the form ...
1
vote
0answers
136 views

Create post using Ajax

I want to create post using Ajax . I had followed the process from Insert Post using Ajax But I couldn't make it work. Here is what I did. Please see what I did wrong as I am just a learner. EDIT ...
0
votes
0answers
48 views

Add category to published custom post type from front-end

I'm developping a site where users can post a CPT that is basically a "service request". They post a draft from a front-end interface and the category is automatically set to a general "service ...