The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
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
25 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
15 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
38 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
18 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
59 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
32 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
22 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
17 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
20 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
19 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
13 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
15 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
37 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
15 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
155 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
28 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
17 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
16 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
74 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
274 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
44 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
30 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
142 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
24 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
0answers
22 views

Change post visibility from the front end

I'm using Bill Erickson's excellent Display Posts plugin to show a list of posts on a page. I am trying to make a toggle switch based on a radio button or checkbox that allows me to switch a post ...
0
votes
0answers
19 views

Enable plugin function on wordpress frontend

I have a chat app in my wordpress, I want to use that app in my frontend (every pages of the frontend, so a visitor can interact). How do i implement my plugin function to load on every pages of ...
0
votes
1answer
73 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 ...
0
votes
1answer
19 views

How to fix blog article view and share #'s?

This is about public views on the front-end of our blog. All newly published articles view counter & share #'s have stopped updating. So, if someone views the article or shares it on social ...
0
votes
0answers
279 views

How are cookie values encoded?

Title kind of says it all. I can easily generate the md5 hash for the key, but I noticed in my devtools that the value is also encoded somehow. I tried setting it to the plain-text value, but this isn'...
0
votes
1answer
26 views

Should I manually resolve WP Core File security issues or await a subsequent WP release?

Using the Google Developer Tools, I can see that some of WordPress' JavaScript Libraries contain known security vulnerabilities; some a few months old. With this in mind, should I consider ...
0
votes
1answer
814 views

How to handle WordPress Plugin Front-end AJAX Call [duplicate]

I'm developing a custom plugin. The plugin provides a shortcode that outputs some HTML to the front-end, wherever it is called. For the sake of example, this HTML includes a form button and textfield....
0
votes
0answers
27 views

make a POST public and visible for everyone on a PRIVATE WordPress website

I have a privated my wordpress website. so you need to put the username and password to see the pages and posts of the site. I need to make a post called "Legal Notice" as a public post visible by ...
0
votes
0answers
28 views

How to select tags in the frontend

Please help. I want users to be able to add posts from the frontend. It works for me, but I do not know how to do it to choose one of the existing tags. I have this code (used from here, but ...
1
vote
1answer
35 views

Show content from database

This is my first post on Wordpress StackExchange, so please be gentle. I’ve been working with WordPress for some time but more as a front-end developer and not too much back end dev. I have a ...
0
votes
1answer
19 views

How to update the children of a post?

i found nothing about it in the WP reference and Google, so i ask you: I want to update a post by a form - and with it its children. $post = array( 'ID' => $mainid, ...
0
votes
2answers
29 views

Front End Editor

I have a pretty weird issue with my text editor. First, my website is under development (in local) and is made with the Shapely free theme. Secondly, my website is for job hiring purpose (using the WP ...
0
votes
0answers
44 views

Frontend registration form doesn't save data only redirects to wp-login

I have another wordpress dilemma... I've built a frontend registration form, but for some reason whenever a user tries to register it doesn't work, and they get redirected to wp-login.php. The ...
0
votes
0answers
34 views

Create a front end page for all sites in multisite network?

I am having trouble figuring this out. I have a theme which doesn't allow creation of pages, and I want to keep it this way. But at the same time I need to create a custom page which are shown on all ...
0
votes
1answer
19 views

Admin Bar - Customizer Label Change

I'm desperately trying to find out the best way to change the label "Customize" in the admin bar on the front end to "Customize Theme." Have tried just about everything with no luck. Any help would ...
0
votes
1answer
353 views

Front end ajax user login session issue

I am having an issue where the ajax login form allows me to login, sort of. If I set the redirect to the homepage after login it sends me to the homepage and gives me the admin bar at the top. However ...
0
votes
1answer
24 views

Disabling user capability to edit_posts or delete_posts in the front-end

I've created a post edit form in front-end of the site, this form is accessible on the front-end ONLY if the user is logged in. Now, for some reason, upon a certain condition is met, I want to DISABLE ...
0
votes
0answers
29 views

Create posts by any logged in users

I want to allow logged-in any users to create posts. For this purpose I created a form <form> <div class="form-group"> <input type="text" class="form-control" id="...
0
votes
1answer
148 views

How to upload PDF from Front-End and post automatically?

I have a medical client and they want to upload and post pdf automatically. So I stumbled upon frontend uploader, which allows users to upload and post an image to a blog post. It does however post ...