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

learn more… | top users | synonyms (1)

5
votes
3answers
427 views

Localization: I want the backend: english and frontend in defined language

I'd like to have the backend of Wordpress in English and use a different locale for the frontend so far I figure out perhaps I could do it by setting in the wpconfig the locale I want to use in the ...
0
votes
1answer
255 views

Three level taxonomy dropdown frontend

I have a code in my functions.php to display 3-level taxonomy dropdown: $brand_taxonomy = 'county'; $taxonomy_name = 'Vietovės pasirinkimas'; ...
0
votes
1answer
839 views

Script help for a Preloader (hide page until all elements load)

I tried Ultimate Preloader (Wordpress plugin) and it flashes parts of the page before hiding with an overlay div. I think this is because the PHP is rendering the page before the plugin's javascript ...
0
votes
0answers
16 views

Editing post in admin panel

I have a front end posting form. Everythings work nice, but the custom (meta) fields i added in the form doesn't appear in admin panel post edit? I add them with add_post_meta() function. Any ideas?
0
votes
1answer
467 views

wp_editor doesn't work in front end area

I am developing a theme where I would like to have a front-end area, but when I try to include the wp_editor() in the page template I am getting this result: P.S. The wordpress editor works fine ...
0
votes
1answer
226 views

How to add a full edit link to front-end editor?

I would like to add a full edit button to the Front-end Editor plugin. It's currently like this: [EDIT] Text text text I would like to make it like: [EDIT] Text text text (enables front-end ...
1
vote
0answers
29 views

Users can't upload images on frontend if they haven't got access to the wp backend

I let users create posts and upload/attach images to that post via the frontend. This works fine. However, when I restrict the access to the Wordpress backend (/wp-admin/) via a code snippet like this ...
2
votes
2answers
131 views

How to use Yoast SEO backend in english even if WPLANG variable is not english?

I added this code to my functions.php file add_filter('locale', 'wpse27056_setLocale'); function wpse27056_setLocale($locale) { if ( is_admin() ) { return 'en_US'; } return ...
1
vote
0answers
29 views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
0
votes
1answer
251 views

wp_editor on front end media upload jquery live error

I have set up a front end editor for a project I am working on. The editor is inside a div with display set to none. The user will click a button to get the editor div to show up. The issue I am ...
0
votes
0answers
21 views

Issue with permalinks for custom post type

I have a little issue here... When i'm using default permalinks, everything works great, but when I set up %postname% permalink in settings, my template with custom post type is not loaded. ...
0
votes
1answer
250 views

Redirect back to origin page after using get_delete_post_link()

I need to implement frontend and backend redirection after delete specific post using get_delete_post_link(). Which hook i can use? Any advice would be appreciated. Something similar to : <?php ...
2
votes
1answer
23 views

Frontend Post Excerpt field mapping

I'm trying to create a form with gravity forms. I need to merge two fields to one Excerpt. I can't give the Excerpt field a merge tag. So I'm trying to use an custom field. My question is now: what ...
0
votes
1answer
38 views

Redirect after successful registration with fronted registration form

I am trying to redirect users after failed and successful registrations and logins. Everything works fine, except the redirection after a successful registration. Right now, I get redirected to ...
0
votes
1answer
225 views

Upload unnattached image from frontend

I am using the below function to let users upload files from the front end. It works great except that I would like the file to NOT be attached to any post. Currently, the file is automatically ...
0
votes
2answers
223 views

Front end login form not working on live site

I am using the front end form submission. It work on localhost perfectly but when i live my site it not working it show the success message but originally it not logged in. This is my code <?php ...
0
votes
1answer
21 views

Can i have more than one form for front end posting in one template [closed]

I'm building a front end post form for car dealing. I have the "if statement validation" at the begining of my template, before get_header() function, after that i have the form. Can i have two or ...
0
votes
1answer
220 views

front end posting

this source works with upload image, if without image upload, it works but 'redirect' doesn't work. what should I do?? Please let me know.. many thanks! if( 'POST' == $_SERVER['REQUEST_METHOD'] ...
0
votes
2answers
44 views

wp_enqueue_scripts hook is not being called

I added the following code to my functions.php: if(!function_exists('bi_frontend_scripts')) { function bi_frontend_scripts() { wp_enqueue_script('jquery'); // I originally wanted ...
0
votes
1answer
49 views

Delete user from frontend

Hi I am working on a frontend admin where a user must be able to delete his account. current_user() is a custom made function of me that retrieves the user meta data. Does anyone know how I can make ...
3
votes
5answers
3k views

Front end post editing using a form

I have a custom-post type with the standard meta boxes and some custom fields. How could I edit a post through a form in the frontend?
1
vote
0answers
104 views

Frontend Image Upload

I have the following code used at the top of my front end user profile page, everything works and displays fine except for the following problem .... If I upload an image and submit the form usermeta ...
0
votes
0answers
138 views

Edit User Profile From Front End

I have taken reference from this link. I have used Plugin cimy user extra fields for extra users' field. I have taken few extra fields such as picture upload and file upload. Now I want to edit ...
4
votes
4answers
2k views

Front end registration/login & publish/update 1 custom post

I want to be able to allow a user to register/login via a front end form and be able to create 1 custom post which only they will be able to edit and update via a front end form. This will be part of ...
0
votes
0answers
22 views

Custom field as Slug

I would like to ask if it's possible for a custom field to become a slug. Like if I have a custom field of "when" whose value is "today", I would like the address of the post to be ...
1
vote
2answers
65 views

wp_update_post via ajax from frontend

Setting: three open Tabs in browser: Tab 1: Admin edit post Tab 2: Frontend view of that post in "editing mode" Tab 3: Frontend view in "non-editing" mode (default request) I edit the post on Tab ...
0
votes
0answers
44 views

add_post_meta to repeatable metabox from frontend

I'm creating new post from wordpress frontnend. I have managed to create post using wp_insert_post & added single metabox values using add_post_meta successfully. but I'm unable to set values of ...
1
vote
1answer
721 views

Let users create a new custom taxonomy entry from frontend (without creating a post)

I have created a custom taxonomy called "Club" (a group of people). This enables me to group posts from contributors (like tags). I use the plugin "Quick Post Widget" to let enter their posts form ...
0
votes
1answer
20 views

How to include backend buttons css on frontend?

I want to include backend buttons css on frontend in a plugin? This is how its inluded in backend: ...
0
votes
2answers
76 views

Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap

The problem (Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap): While logged in and viewing the frontend -- If you shrink your browser down, there is an excess amount of white ...
0
votes
0answers
74 views

Create nonce in frontend page to edit profile

I am trying to create a frontend edit profile form that mimics the wp-admin backend edit profile. I created the form as HTML directly in a WordPress page (I'm a PHP/WordPress beginner, so I don't know ...
0
votes
0answers
487 views

upload featured image from front end using wordpress add media button

I want to submit custom post from frontend. i have made form to make this happened. But i want to upload featured image form add media button of wordpress. Code is <?php /* Template Name: post ...
0
votes
0answers
32 views

How can I display a metabox on front end for registered users

I'm using a plugin called Frontier Post to allow users to post on front end. When I try to create a post on the front end using this plugin, it does not display a custom meta box that comes with my ...
4
votes
1answer
2k views

How to let user set password on registration

I´m working on a front end registration form adn have gotten as far as getting the standard registration form to work, but... I´d like to add the oportunity to let the user choose his/her own ...
1
vote
1answer
371 views

set a chosen image-file-input as a featured image from wp frontend

SCENARIO : I allow to create posts from front-end. The form also has four image upload fields. I use the code pasted below for image attachments and setting the post thumbnail. //insert attachments ...
0
votes
0answers
38 views

update_post_meta frontend

Ok I have searched and searched the internet to find an answer to no avail. Here is my issue. I have a form that is pre-populated with metadata fields. I want to have two submit buttons one will ...
0
votes
1answer
44 views

get_delete_post_link redirect

I am using this to allow users to delete their own posts on the front end of my site: <a onclick="return confirm('Move this post to the trash? You can restore it later.');" href="<?php echo ...
0
votes
0answers
30 views

How to set/force the size of the image/attachment uploaded by frontend form?

I have a front end form to let users upload images to my website and i set the post attachment image like this: // find the most recent attachment for the given post $attachments = get_posts( ...
0
votes
0answers
186 views

Connect LDAP with Wordpress-Login

I have a wordpress-page where i offer webapps, mostly for free. Now, I want to connect this page with my LDAP-directoy from my first page. I tried several Plug-Ins but they did not work, yet. I am a ...
0
votes
1answer
67 views

How Can I Limit Users to Post Creation For My Frontend Theme?

I have exactly a same site like stachexchange. In my theme all users can ask questions. But I want to limit users to post for preventing spam. Example: 1 post per hour. Default new registration role ...
0
votes
1answer
63 views

upload file with front-end submission and forward the data in an email

I have an email set up using wp_mail that forwards my front-end submission data as well as posting it to the dashboard. The part that I am having trouble with is forwarding the attachment file with ...
0
votes
0answers
50 views

Working on fixing wp-front-end-editor, encountering undefined index

Scribu's Frond-End Editor plugin is brilliant, but throws some Strict errors in debug mode. Since I'm using the plugin on a project, I figured I'd fix the errors. (You can see my changes from the ...
1
vote
1answer
85 views

Help with AJAX front end comment moderation

I am implementing a front end AJAX comment moderation system for a site I manage but I am having a hard time getting it to work. Right now clicking on the link that approves the comment runs the ...
1
vote
0answers
52 views

Frontend image uploading from frontend cant handle hebrew names

i'm using the insert_attachment code in my functions.php : function insert_attachment($file_handler,$post_id,$setthumb='false') { // check to make sure its a successful upload if ...
0
votes
0answers
192 views

Add Action Hook function to WP-User-Frontend in a custom post field

I'm using WP-User-Frontend plugin on my wordpress site to allow users to submit posts from the frontend. I only allow users to submit urls. So I created a new form in WP-User-Frontend and gave it 2 ...
2
votes
4answers
306 views

Conditional check for front-end which includes ajax

I need a conditional which exits if the context is not a front-end view including AJAX requests. I have this at the moment: if (is_admin() && !DOING_AJAX) return; The DOING_AJAX bit ...
0
votes
0answers
82 views

Add insert/edit link functionality to front end tinymce

I would like to know how to insert/edit link functionality at front end tinymce added by plugin. Before that I thought I can use WordPress's tinymce by wp_editor() but, wp_editor is not working on ...
0
votes
0answers
15 views

How to use ajax_url in front end when using with theme? [duplicate]

I'm trying to use ajax function to my theme. I think i can't just put the javascript code in my functions.php, i have to register it properly and enqueue it. So i store the javascript file with .js ...
0
votes
2answers
73 views

set post author depending on condition via frontend post submit

I allow users to post from frontend. There are three kinds of users. Myself as admin, a junior ( given a role of an author) and anyone from public as non-logged-in user. Currently if any non-logged-in ...
-3
votes
1answer
129 views

How to use WordPress 3.8 back-end CSS in front-end?

How to use WordPress 3.8 back-end CSS in front-end? I want to use the back-end button CSS, button icons CSS etc. onto the front-end side. Is there any way, I can just call the CSS class in front-end ...