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

learn more… | top users | synonyms (1)

0
votes
0answers
18 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
16 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
38 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
82 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 ...
1
vote
0answers
15 views

how to drop variables on successful submit [closed]

Hello i've made a submit form on my wordpress form which sends some data to a table in my database... well surprise ;) <input class="inputtable_start" type="text" id="startA" name="startA" ...
0
votes
0answers
42 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
32 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
25 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
7 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
48 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
29 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
29 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
21 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
11 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
76 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
45 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
17 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
16 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
44 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
36 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
147 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
35 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
66 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
34 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
70 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
156 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
62 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
41 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
101 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
60 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
0answers
378 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 = ...
2
votes
2answers
465 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
71 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
43 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
116 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
37 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 ...
0
votes
1answer
100 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
61 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
78 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
234 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 ...
0
votes
0answers
175 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
36 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
91 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
65 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
402 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
123 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
80 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 ...