Questions tagged [front-end]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Having issue in feature image upload from frontend. We used “Wp User Frontend Pro” Plugin

In frontend side. feature image can not upload. Its showing error like this: Showing error like: Please provide solution.
0
votes
0answers
8 views

WordPress Nexus Theme front-end editor broken

I did a migration of a wp site and now the nexus front-end editor is giving following error: error transferring data. please try again later. I read a solution on this forum like: but can't seem to ...
0
votes
0answers
16 views

Frontend posts table and post edit form

I would like to create profile page, where user can add, edit his own posts. The same functionality as in Wordpress admin, but at frontend - in the same style as the whole website. I want to have ...
0
votes
0answers
14 views

Custom repeater field trying to save custom value

I would like to save each value like this al_ttl_1...al_ttl_2 and how I can display it? Actualy Im using this code to save all value. With the code below I can't see the custom field on backend ( it'...
0
votes
1answer
30 views

Media library not working with wp_editor() on the front end

Very related: Add Media has stopped working in the front end since 4.5 update I want to run the wp_editor() function to load the classic WordPress editor on the Front-End. I need to do this out of ...
0
votes
1answer
121 views

frontend submit post jQuery clone row won't save

Why the cloned value won't save in DB ? It's working fine for the first row (not the cloned one) but when I add new value with jQuery(.clone), new added value won't save... jQuery $('#add-embed').on(...
1
vote
1answer
32 views

Frontend Post - Allow Only Image File Upload

How I can allow user to upload only IMAGE file ? function.php // Insert Attachment function insert_attachment($file_handler, $post_id, $setthumb='false') { if ($_FILES[$file_handler]['error'] !==...
0
votes
0answers
23 views

How to upload Web-record Base64 Wave Audio file in WordPress Post (front-end form)

I created a WordPress post form that works well And I want to add a field: Browser recording audio file Based on base64 - (blob file) And upload when posting. My javascript code is : https://...
0
votes
0answers
22 views

Add a post with react and axios

I tried to add a post from the front end with react and axios, the post added successfully with just the title but the featured image is empty, and when i checked the media the image is miising.Bellow ...
0
votes
0answers
13 views

How to add extra input fields to paid members subscription's form using the hook in functions.php?

I have to insert from file functions.php a date field in a front-end form that saves the data also in the backend. The plugin I used for the form is paid members subscriptions
0
votes
0answers
10 views

table/csv input that allows custom front end displays

I need an easy way for a client to import (from a CSV) and then manage a table of contact details (roughly 150 rows, roughly 9 columns) and then for me to create a custom non-table front end to ...
1
vote
1answer
28 views

Redirect user after successful email change

I set up a front end form for logged in users to update their email address. So far it is working however I want the user, after confirming the email change via link sent to the new address, to be ...
1
vote
0answers
22 views

Uploading video to google drive via frontend [closed]

I need to add a functionality to a website that I am developing which allows users to, Upload videos from a front-end form to google drive. Save its shared URL/embedded code to the site's backend. ...
1
vote
1answer
29 views

Frontend submission upload image via external url

I have AJAX form to get movie data by movie id and post this data into new post. This is my function, It's works very well, But i can't upload image via external URL. // Image URL $poster = '//...
0
votes
1answer
41 views

Replace image name on upload to the new post name on front-end form

I'm using this form to replace featured images and post title on my frontend form: <form id="featured_upload" name="featured_upload" method="post" action="#" enctype="multipart/form-data"> <...
0
votes
1answer
22 views

Edit the post title from the frontend

I have this form that allows-me to change some things of the current post in my frontend: <form id="featured_upload" name="featured_upload" method="post" action="#" enctype="multipart/form-data"&...
0
votes
0answers
61 views

Wordpress User profile with Avatar upload on the front end without plugin?

I want to edit the Wordpress user profile on the front end without using any plugins. I went through SO questions and found a somewhat question and found @Bainternet answer somewhat useful. How to ...
0
votes
0answers
25 views

Remove Unwanted Font Files from Loading into WordPress Frontend

I've built a custom theme for a client and have two random font files being loaded into the frontend of the site. How will I remove these, I'm guessing they are part of Wordpress core? Both files ...
0
votes
1answer
8 views

Login to admin by frontend form?

I'm developing a website by wordpress, customer want I build a custom login page and login by email, not username. And admin page with custom url '/manage/' Below my code for login: $email = $_POST['...
0
votes
1answer
28 views

front end add category to new post

This is my issue, i hope to find the answer here. <div class="form-group"> <label for="genres" class="col-sm-2 control-label">genres</label> <div class="col-sm-10"> ...
0
votes
1answer
17 views

Wordpress website working fine on localhost but not displaying front pages on webhost

The website works perfect on my localhost. I used duplicator plugin to upload it on my web-host. Database connections are established since mywebsite.com/wp-admin works perfect. I can login the ...
0
votes
0answers
39 views

How To Toggle User_Meta in frontend in a form using PHP

I am trying to make a small form, that just has a submit button, and on submission, it should toggle user meta for the WordPress user. The button exists on frontend after content of post, and has a ...
0
votes
0answers
14 views

Frond-end mini-framework for handling wp ajax

The question is non-specific. I have been doing lots of custom triggers to handle ajax and its responses from WP core. Is there perhaps some lightweight framework that could facilitate that? I would ...
1
vote
0answers
25 views

How to set up front end editor to autoembed media for non-logged in users?

I have a series of themes that allow site visitors to contribute content as posts (they enter as drafts) from a front end editor. I have been using a technique of invisibly logging them in as an ...
1
vote
0answers
62 views

Delete User via Frontend

I have made a table list of registered users. It is accessible by admin role only. <table class="table table-striped w-100"> <thead> <tr> <th>Clock ...
0
votes
1answer
34 views

How to allow users to create their own website within my domain? [closed]

I want to create a wedding website builder similar to theknot or withjoy.com. I want to provide the following features - User should be able to choose their own url slug User should have a frontend ...
0
votes
0answers
25 views

Gutenberg: Content Width Frontend

I'm working on the front end of my site however I've ran into an issue where I different content widths as a result of content being not wrapped in a div. <div class="content"> <div ...
0
votes
0answers
7 views

User to be able to upload images x2 and email them

I need to allow a user to upload two image files on the front end on my website. I need these images to them be emailed to an email address I choose. Is this possible?
0
votes
0answers
23 views

Wordpress as backend for SPA - problem of 404 page for custom routing

I'm going to use wordpress as backend rest api and vue.js (it doesn't matter what framework) as frontend part. I have some custom route on frontend side, e.g. "/custom". Actually it works on my ...
0
votes
0answers
29 views

sort posts on front end using url query

I am trying to sort posts on my archive page based off a custom field. The custom field is a number. I have the following in my functions.php file - function wpse139657_orderby(){ if( isset($_GET[...
0
votes
0answers
26 views

wp_editor in Frontend Form Not Working With Autosave JS for Form

I have a Site For Frontend Publishing. As it is obvious i use a form with various fields like tags and categories. I took a autosave code snippet from another answer Stack Exchange. setInterval(...
0
votes
0answers
14 views

Front and Editor styles in one file?

I've got a lot of custom stuff to style inside my current project ( first one made with Gutenberg) and editing two files (that include a lot of media queries) makes the task deeply infuriating. Is ...
0
votes
1answer
38 views

wp_ajax declaration confusing for Front end

I´m a litle confused. I would like to declare a wp ajax function for the front end. I followed the documentation and specifically this page where it´s written : Note 2: Both front-end and back-end ...
0
votes
0answers
13 views

how can i add custom meta box in a custom page

Custom Post Type & Meta Box - Displaying meta box information on front end? and add a text area where the post views can add a text it will be showed in a history below the custom post type <?...
0
votes
0answers
45 views

Custom dropdown list taxonomy not saved

I'm currently modifying a theme, freelanceengine, and I'd to add some customs fields in profile editing page. I succeed in creating the customs fields but my changes are not saved <div id="...
0
votes
1answer
22 views

Change custom post taxonomy values from front-end

I'm developing a ticketing system which already has the custom post type for the tickets with a "status" taxonomy. I have the tickets displayed in a table on the front-end and the status column has ...
3
votes
2answers
179 views

How to link Wordpress heartbeat to ajax form

I have a form that $_POSTs an input value, and user's ID that saves the data to the database: // frontend form <form id="form"> <input type="radio" name="location" id="name1" value="1"&...
0
votes
1answer
49 views

Delete all user's meta without knowing all the 'key'

Trying to delete users from the frontend - which I currently have working. Previously, I was manually deleting the metadata when it was completed. I was looking to see if it was possible to delete ...
0
votes
0answers
20 views

Contacts List from front end

I need the below requirement, The user will log in from frontend and he will repeatedly enter user data and saving for each single user data entry and I want to show it in the bottom of the page and ...
0
votes
0answers
17 views

Pay for publish post on front

I have the option of adding posts on the front via acf_form. I would like to implement the option of adding a post (for some user roles) after completing the order (preferably a woocommerce), so... ...
0
votes
0answers
12 views

Post type switch on front by post author

It's really nice to write first post here ;) Ok, let's get started. I have 2 custom post types - 'actual' and 'finished'. On 'single-actual' i want to have a link that when author post click then ...
0
votes
1answer
121 views

Front-End Upload media with category

Hello i have a page with a little uploader to upload media in the library, here is my code : <?php $post_id = $post->ID; if ( isset( $_POST['html-...
0
votes
1answer
442 views

AJAX on Front-End Button Click not working - Custom Plugin

I'm trying to make a custom plugin, and something that should be simple is giving me a huge headache. I followed the Wordpress Codex example exactly and have looked at countless similar posts but ...
0
votes
0answers
100 views

Creating front end admin area for users

I am creating a front end custom admin area for registered users. The logic and everything else in in place, so it works. BUT, I have created this using pages with custom page templates. I feel this ...
0
votes
0answers
33 views

Unset plugins on front-end belonging to specific category

I have a function which unset plugins on the front-end. The only extra criteria, in_category ( 'my-cat-name' ), I am not able to achieve. Where and how to add the category so the plugins are only ...
0
votes
1answer
186 views

How To Import CPT With Only Few TEXT ACF Fields From Front End?

I have registered CPT "Contacts" and I have created 3 text fields: name, phone and address. All those fields are set as text fields, and now I want to allow admins to import CPT with those fields from ...
0
votes
1answer
30 views

Get id from metabox dropdown

Im using Reusable Metaboxes (old but still works) and I created a metabox that allows the user to pick a post from a list of custom post types. Right now that works pretty well, I can see all the ...
0
votes
0answers
9 views

Creating search page based database information

I am new to WordPress but not to web development. I have a mySQL database of information of products, and I want a user to be able to enter in a search bar for a product and all products containing ...
0
votes
2answers
26 views

Looking to create an “update theme” functionality for a custom front-end dashboard

I've created a theme that includes a custom dashboard outside of wp-admin. I would like a user who doesn't have access to the wp-admin (but does have access to my custom dashboard) to be able to ...
0
votes
1answer
93 views

Fullscreen Video/GIF Intro

How would one go about placing a 3 second Fullscreen Video/GIF Intro upon website start up as a preloader. I've tried coding it in but there's always something conflicting and limits the ...