Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [front-end]

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

0
votes
0answers
8 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
32 views
+50

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
16 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
9 views

Front end custom-post submission does not insert new post [closed]

I have a site where I've created 2 simple (one-file) site specific plugins. One plugin holds my cpt's and custom taxonomies, the other is a plugin where I put most of the custom functions. I use ACF ...
0
votes
0answers
19 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
25 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
25 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....
-1
votes
0answers
8 views

Issue on role management and “No role for this site”

I have an issue with users roles management. I have 4 users role on my wordpress installation (3 for the back office and 1 for the front office) Back office roles are : Administrator Head of ...
0
votes
0answers
23 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
20 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
29 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 ...
-1
votes
0answers
114 views

admin-ajax.php 403 forbiden?

I am trying to auto populate fields of WP User Frontend WordPress plugin. I tried copying inspected code, and directly creating a template with this code, and it is doing good job, expect, it gives me ...
-1
votes
0answers
34 views

How to do action after successful post save/update

On the frontend, users can submit a post, and when they click a submit button, javascript uses AJAX to publish the post to the live site. However, to automatically moderate the posts, I want to run ...
0
votes
1answer
16 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, ...
-1
votes
0answers
10 views

Moderate New User Registrations Using Front End

Wordpress newbie here, is there a way to moderate new user registrations from the front end? For example using a specific page from your site? Right now all I can find is moderating it from the ...
0
votes
0answers
10 views

Cant Edit Home Page - Home Page Missing From CP

Just FYI, i have been using wordpress for about a year, I have a decent grasp on it but I am still learning the industry. I have a website im assisting a client with where their home page needs ...
0
votes
2answers
15 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 ...
-1
votes
0answers
16 views

Wordress Front-end post category array

I have been trying to build a front-end form to wordpress post. I am using a custom post type but not a custom taxonomy, and these works fine. I am doing this with the wp_insert_post function, trying ...
0
votes
0answers
31 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
13 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
12 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
76 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
17 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
19 views

Is there a way to let users download images from a gallery?

What is the best way to let users download images from a gallery? I tried using the NextGEN Gallery plugin with the download addon plugin, but it looks horrible on mobile devices. Thanks again, ...
0
votes
0answers
16 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
0answers
71 views

Gives users 'password protected' option checkbox on front end post

I'm working on an event based website where users can post events that are then shown on the site. Users use a front-end post form to fill details in, then event is posted on site https://myselekta....
0
votes
1answer
44 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 ...
0
votes
0answers
46 views

How to Show Media Library Options on front end

This Back end This Front End You can see the Crop Image option is not visible on front end library section i want that crop button available on front end too. ( using mannual crop plugin for that ...
0
votes
0answers
51 views

How to use JS inside of the (iframe) wp_editor function?

I'm using the wp_editor function to create a cool frontend editor. The problem is: WP generates an iframe where the editor's content is displayed - however I have a hard time to do anyting with JS ...
0
votes
0answers
21 views

How to do persistent data on Front End?

I´m doing a plugin with a member system. I need to : display notices ( error, warning, info ) for visitors when they fill the form to subscribe. To match with my core project, I need a system with a ...
0
votes
0answers
49 views

How to generate an HTML link automatically from URL in a users' post

I am using the User Submitted Posts plugin to enable users to put posts on my Blog. I would like to take the URL from the post and convert it into an HTML link with (for example) iframe. Any ideas how ...
0
votes
0answers
35 views

Enabling users to delete post from frontend

I was trying this code to delete code from frontend but it is giving me syntax error T_String then i tried remove the confirm string it did delete the post but then redirected me to the same post ...
-3
votes
1answer
37 views

How to improve wordpress site creation process to increase productivity.

more info: we are all here working and loving WordPress but at the end of the day we need to make money if we can finish same work in less time we can be more competitive and take more projects in ...
0
votes
0answers
7 views

Post from front-end user is sanitized

I don't want Wordpress to sanitize the user's post from front-end. If I logged in as super admin, wordpress don't sanitize post_content. But, If I logged in as a normal user, wordpress sanitize ...
0
votes
1answer
117 views

HELP! Frontend User Profile Edit Won't Update Email

I've read forum after forum and I feel like my code is perfect. But it still won't update the user email. /* Get user info. */ global $current_user, $wp_roles; //get_currentuserinfo(); //...
0
votes
0answers
86 views

Frontend Media Upload throws TypeError mediaelementplayer

I am trying to add a media upload button on frontend. Here is my code that enqueues media and my script file function pc_scripts() { wp_enqueue_media(); wp_enqueue_script( 'pc_custom', ...
0
votes
0answers
102 views

CSV export from Frontend [duplicate]

i have an custom SQL quarry i need to allow users to DOWNLOAD CSV file from this quarry from their fronted panel SELECT ATT_fname, ATT_lname, ATT_email, ATT_address, ATT_phone FROM ...
0
votes
0answers
30 views

Adding Editing (backend) metaboxes for a given post type to the frontend

Apologies that this question isn't coming with a pre-existing code attempt by yours truly; this need is a bit above my current skill level (but I'm working very hard to improve at it). I'd like to ...
0
votes
1answer
466 views

Advanced Custom Fields and Post Meta Fields Relation

I'm using Advanced Custom Fields Pro pluing. Also using a vote pluging and this plugin using post meta box (writing post screen on admin panel) and i can close vote for everyone with close vote date ...
1
vote
1answer
107 views

Disable or Enable Comments on Front end [closed]

How can I enable or disable comments on front end by post author? Back end is closed for my authors and some authors sometimes don't want to enable comments. Maybe we can add a field (check box) that ...
0
votes
1answer
89 views

Wordpress Error establishing a database connection For Admin login only

I am having this strange Error thing happening I can load the wp frontend fine but the wp/wp-login.php gives : Error establishing a database connection Does the wp-config.php is for both frontend and ...
0
votes
0answers
27 views

front end post and uploads for custom post type

I am working on a front end post form for a custom post type that allows users to upload images. if (isset( $_POST['save-draft'])) { $post = array( 'ID' => ...
0
votes
0answers
47 views

Database Table for customer user

I'm developing a custom login system for wordpress. In front-end, the customers, has the possibility to register, etc...But I'm wondering if is possible to store customer information in other table ...
0
votes
1answer
287 views

Is it secure to use admin-ajax.php in front?

I would like to know if it is secure to use admin-ajax.php for your ajax requests on the front.
0
votes
1answer
37 views

how let users select categories for posts in frontend?

i've added a custom taxonomy to categorized post in colors other than their main category and i want to let users to categorized posts in frontend and i have no idea how to do that... is there anyway ...
0
votes
1answer
269 views

How do I display a custom field in an existing form on the front end?

I just have one custom field (from metabox.io) that I need added to the front end of an existing form. Can someone just clarify the steps. I tried following this tutorial: https://voodoopress.com/add-...
1
vote
1answer
60 views

upload featured image in custom post type from frontend

I am trying to upload featured image from frontend and my id is also inserted in post_meta but image is not uploaded in media library https://www.screencast.com/t/Uakjtxi9ojv Here is my code. ...
0
votes
0answers
160 views

Frontend media shows “An error occurred in the upload. Please try again later.”

Really struggling with some code here. I have a site where I've created a custom role 'Agent' and an agent needs to be able to upload images via a frontend form. I've managed to get the code working ...
1
vote
1answer
18 views

404 error on default post type and default taxonomy fronted page

I have installed WordPress through Softaculus installer. After that I logged in and created a post. when I wanted to view the post it says 404 page not found. It works fine when permalinks are set to ...
0
votes
1answer
27 views

How to add a new button on post

I would like to add a button next to the edit button on each article, with a link to a specific page. This button is for translation purpose. It should redirect the user to the translation page of ...