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
10 views

Tag posts on front end

Is it possible to have a simple input field to add existing tags on a frontend form? Here's an example of what I would like to achieve:
0
votes
0answers
20 views

Use PHP+jQuery+Bootstrap for frontend and headless WordPress for backend, good idea?

I should make a simple web app, I had thought about Laravel but I'm still a beginner as I know WordPress better. Would it be a good idea to build the frontend part with PHP + jQuery + Bootstrap (I don'...
0
votes
0answers
11 views

Display post voting results on homepage blogroll

I am stuck. I am trying to us this plugin: https://github.com/ErnieAtLYD/MoodThingy-WP-Plug-In As a post voting plugin. There's only 2 options. Now, the results are being stored in the database just ...
1
vote
0answers
25 views

Simple reservation system for a card game

I would like to set up a wordpress site for scheduling a four-player card game. Assume each post is created to announce a card game with a date/time/location provided. Assume each user is a registered ...
0
votes
1answer
13 views

Plugin frontend page design irrespective of the theme used

I am writing a WordPress plugin which will have some front-end pages including inputs, forms, buttons etc. The plugin should be usable with different themes. But I am confused or don't know how to ...
0
votes
0answers
19 views

Adding shortcodes to multiple pages with function

I am building a plugin that allows users to display information to the front-end of a website. When users want to display this information they have to add in a shortcode to the page they would like ...
0
votes
1answer
24 views

Need Help to make a logic for editing posts in Frontend

I have an issue, I'm creating classified website, so I have a login and a registration form and users can post their own adverts. They have account page where they can see their posted adverts, I'm ...
0
votes
0answers
29 views

How to handle wordpress sso authentication with gatsby js?

I have a working wordpress setup with sso login, when user try to logged in he is redirected to another website to login and redirect back to the main site if successful. I want to use gatsby js as ...
0
votes
0answers
22 views

Display Widget with ACF Field content on front-end

I've register new sidebar: register_sidebar( array( 'name' => 'Phone numbers dropdown', 'id' => 'phone-numbers-dropdown', 'before_widget' => '<div class="...
0
votes
0answers
17 views

How to show WordPress admin dashboard forms on front-end?

I need to show some WordPress Admin forms like "Dashboard > User > Add New User" or some parts from Woocommerce Admin like "Edit Product" on front-end without using any ...
1
vote
0answers
12 views

How to display images of a post as a media gallery

Situation I used user-frontend API to make user capable of uploading image. But this post page posts the image and the image is visible in media library(which contain other previously submitted posts ...
0
votes
0answers
31 views

Front-end upload image, no image preview in media

I have form to upload image via Ajax, it's works efficiently. But image not have preview thumbnail like : if(isset($_FILES['file'])) { require_once( ABSPATH . 'wp-admin/includes/image.php' ); ...
0
votes
0answers
17 views

front end post with featured image

am trying to post a post from front end with featured image. The categories and other fields is working good . but i need to complete my code to put the featured image This is html code: <div ...
0
votes
1answer
37 views

Let any visitors delete a post if they know Id nr & password?

I've got only one function left that I need to solve (if it's solvable). I've got a frontend post system for unregistered users. But there are no way for the users to delete a post if they later want....
0
votes
2answers
104 views

Force user to change their password on the frontend at the first login and password policy

I have 3 users roles on my platform with no access to the WordPress backoffice "external_user1" , "external_user2", "external_user3". I need to force every user with one of this roles to change his ...
0
votes
1answer
12 views

How to use jQuery(…).material_chip inside WordPress?

Although I have imported materialize.js (v1.0.0) inside my plugin in WordPress with $pluginpath = dirname (plugin_dir_url( __DIR__ )); $pluginpath = str_replace('\\','/',$pluginpath); $thepath = $...
0
votes
0answers
15 views

Suggestions on how to properly code a web form to submit CPTs from the frontend

I am looking for a way to code a secure web form to provide a way for my users to submit custom post types from the frontend on WordPress. Not really interest in using a plugin for this case though. ...
1
vote
0answers
20 views

How to get the upcoming post ID from front end?

Searching with "Next Post ID" is giving me the Previous/Next Post Navigation, but my question is not related to that. In WordPress Admin panel, when we're attempting to create a new post the post is ...
0
votes
0answers
17 views

Allow up to X Concurrent Login Sessions Front-end

This is my front-end function function env_login_member() { if(isset($_POST['env_user_login']) && wp_verify_nonce($_POST['env_login_nonce'], 'env-login-nonce')) { $user = ...
1
vote
0answers
14 views

Preview post on frontend before submitting it?

I found a related (old)post here I'm currently using usp pro as a frontend. I'm creating a free pet memorial site, and want the user to just fill out the form, (NO ACCOUNT REQUIRED),and the post is ...
1
vote
0answers
17 views

How to upload images from wordpress front-end (the first image must be thumbnail and the rest without first must be in gallery woocommerce product)

How to set first image from $_FILES array to product woocommerce post thumbnail and the rest put into woocommerce product gallery. I have this code: if ( ! empty( $_FILES['thumbnail'] ) ) { ...
0
votes
0answers
189 views

Front End User Registration - How to Save ACF Values?

Overall Problem: ACF fields in front end registration not saving to user profile Having some trouble with front end registration and ACF. I've got ACF fields attached to a custom user role, but I'm ...
0
votes
0answers
30 views

Front end Ajax custom file uploads with multiple file return 404 not found, single file upload working perfectly

in the templete file I gave the below code, <input type="file" name="files[]" id="files" multiple onchange="javascript:updateList()"/> <div id="...
0
votes
2answers
51 views

How to do the simplest possible frontend ajax call from a plugin?

I'm trying to make this as simple as possible just to get the basics down, but I keep getting a 400 error and 0 response from admin-ajax.php. I just want to hit ajax with some data. Here's my js: ...
0
votes
1answer
41 views

Gutenberg Editor: display error with a combination of transform and background-attachment:fixed

For the output of post content, the main column is constrained to 700px. This allows for images etc. to be aligned left and right whilst remaining within the content column. Adding a solution using a ...
0
votes
0answers
13 views

Allow Users To Copy Posts From The Front End

I want to create a grid of posts (a CPT) that a logged-in user will access from the front end of the website. The user can select which posts they want and click submit which would make a copy of the ...
0
votes
0answers
42 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
16 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
30 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
43 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'...
1
vote
1answer
75 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
177 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
122 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
159 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://...
1
vote
0answers
200 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
16 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
13 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
78 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 ...
2
votes
0answers
52 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
48 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
157 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
59 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
484 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
41 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
20 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
32 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
45 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
41 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
15 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
40 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
2 3 4 5
11