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

learn more… | top users | synonyms (1)

25
votes
1answer
37k views

How to edit a user profile on the front end?

How can I edit a user profile in the front end with a form? first name, last name, username, email address and password
12
votes
2answers
11k views

How to save the state of a drag and drop jQuery UI Sortables front end layout editor?

I am building a front end post layout editor using jQuery UI Sortable. The posts are laid out in 300px by 250px boxes over a background image. The posts are created and edited using the WordPress ...
11
votes
4answers
7k views

How do i include tinymce editor in frontend?

I am trying to add tinymce editor in my frontend from where users can post. But no luck so far. Here is the code: PHP: add_action('wp_print_scripts', 'my_enqueue_scripts'); function ...
10
votes
7answers
16k views

Front-end Register Form

I'm looking for an easy way to place the user registration form on the front-end of a WordPress site. I've already used wp_login_form() to place the login form on the front end, but now I need to do ...
6
votes
3answers
17k views

Submit post and upload image from front-end

I am trying to do something similar to the above question. I am trying to make users post and upload images from front-end. I have already done the post form and its working. I just followed and ...
6
votes
3answers
631 views

How to add “Stick this post to the front page” to front end?

I have a baseball related website with multiple authors. I use the "Stick this post to the front page" to denote an "Editor's Pick" on an article. I would like to add a link/button to allow editor to ...
6
votes
1answer
2k views

How to show 'login error' and 'lost password' on my template page?

I'm providing front-end login in a template, using the function wp_login_form. It handles the redirection after login and logout pretty neatly! But if the username / password mismatch, or are non ...
6
votes
1answer
303 views

Is there anything like admin_notices for front end?

I'm new to Wordpress and trying to take advantage of the framework as much as possible. On the front end, I want a centralized message area to display error, success, and general notices similar to ...
5
votes
3answers
593 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 ...
4
votes
4answers
680 views

What are the pros and cons of using a custom front-end to retrieve content from a Wordpress back-end

I've been building wordpress sites for a few years now and have noticed a few things that bother me. 1. It's fairly slow (awful blanket statement, I apologize) My initial desire to create a ...
4
votes
1answer
8k views

Upload post thumbnail from the front end

We would like users to be able to upload the post thumbnail when editing posts. How would this be done. I would imagine it would make use of the ajax functions of wordpress. Any ideas, Marvellous
4
votes
1answer
3k 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 ...
4
votes
4answers
3k 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 ...
4
votes
1answer
411 views

front end logo upload like happytables

happytables has a cool feature where if you are logged in, on the home page && haven't uploaded a logo yet it will insert a drag + drop image box similar to image uploader on the backend. ...
4
votes
5answers
1k views

Disable front end to use as CMS only?

I'm using the WordPress database and back end to administer the news for my band's website and everything is working great however I'd like to disable the front end of WordPress itself. I have the ...
4
votes
3answers
396 views

Handling jQuery Component Collision

In plugin development, what is the best practice to prevent jQuery component collision on the front end? For instance, let's say I include the jQuery Apprise dialog in a plugin that loads this on the ...
4
votes
1answer
573 views

wp_editor with media buttons

I use wp_editor() on the frontend. media_buttons are displayed on default if visitor is logged in. I want to display these media buttons whether user is logged in or not. Is there any way to achieve ...
3
votes
5answers
5k 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?
3
votes
2answers
5k views

Front-End Post Submission

I am trying to add a form where users can submit post from front-end. I am Following this tutorial: http:// wpshout.com/wordpress-submit-posts-from-frontend/ What I am doing is adding this code to ...
3
votes
1answer
37 views

Listing registered scripts

Back story : We have a number of wordpress web sites experiencing issues when viewed on some IE8 browsers. The errors include the page loading but not being displayed (either a blank screen is ...
3
votes
1answer
104 views

Get names of authors who have edited a post

How can I call the usernames of people that have edited a post? I know I can use get_the_modified_time to display the time the post was last modified, is the same possible with the list of users that ...
3
votes
2answers
581 views

WordPress as a backend only. How to output database content on public side without WordPress?

I'm a bit of a PHP MySQL newb but i feel i need to bypass WordPress for the frontend of a site i'm building (it is mainly just RSS and JSON feeds). I was wondering if there are any tutorials or advice ...
3
votes
1answer
372 views

How to restrict Front-End Editor on a page?

I am working on a site where the user can do everything from the front end. I am using the plugin from scribu called front-end editor. My problem, is that I have a dashboard page with all the options ...
3
votes
1answer
2k views

Set Featured Image Front Frontend Form

I have been struggling for days to figure this one out. I have successfully implemented a form to submit posts from the front end of my site. ButI can't figure out how to make the image uploads work. ...
3
votes
5answers
5k views

Frontend Simple Local Avatar upload

I'm using Simple Local Avatars for uploading custom user avatars. How can I create a frontend page with the avatar upload function? Below please find the code from Simple Local Avatars plugin: ...
3
votes
1answer
2k views

List custom post types in dropdown

I have three custom post types, each with around 5 taxonomies and 2 of the custom post types share two taxonomies. I've just about got everything set up for posting from the front end other than the ...
3
votes
2answers
868 views

How do I create a way for users to assign categories to a post from the frontend?

Basic idea is for any post on the site, I'd like users to be able to assign a category for it by selecting from a set of checkboxes on the frontend. This would be a kind of crowd-sourced ...
3
votes
3answers
4k views

Meta Boxes in Front End Post Submission Form

How can I add meta boxes to the front end post submission form? Similar to front end post submission that creates new posts, the form replies should go directly into the post meta boxes. Meta Boxes ...
3
votes
1answer
1k views

How to Make a Categories Meta Box with Hierarchical Checkboxes on Frontend?

My website allows uses to post posts of a custom post type ("place"). I would like to display the same "Categories" meta box seen in WordPress dashboard when you add or edit a post on frontend: ...
3
votes
1answer
1k views

delete attachment from front end

logged in as admin and trying to code that deletes posts to delete an attachment. got, <?php if (current_user_can('edit_post', $attachment->ID)) echo "<a href='" . ...
3
votes
2answers
421 views

How to notify users of blog updates a la Admin Plugin Update notifications?

What I would like to do is mimic how Wordpress shows an administrator how many new updates there are for installed plugins (a tiny number displayed next to a link). The main difference is that I want ...
3
votes
1answer
166 views

Saving two categories from two dropdowns in front end posting form

So, here's the deal: I have two category dropdowns, the first for the parent categories and the second for the child categories. They form a chain so that when you select the parent category the ...
3
votes
5answers
2k views

How to attach a uploaded video to post from front end

Hello am building a user generated content sharing theme This is my code for video submission from front end But this code only allows to add videos from a url How can i allow them to upload ...
2
votes
2answers
378 views

How to correctly load wordpress in a non WP script for AJAX request

I want a script in my theme, ajax.php, which I want to load or access from other frontend pages using ajax. In ajax.php I want access to core WP functions such as get_posts(), do_shortcode() etc. ...
2
votes
2answers
418 views

Prevent empty Post Title on form submit via front end post (wp_insert_post_)

I am creating a post from the front end using (shortened for brevity); if (empty($_POST['my_title'])){ echo 'error: please insert a title'; } else { $title = $_POST['my_title']; } ...
2
votes
2answers
351 views

Built-in data validation function for URLs

I have a front-end form where people can submit their website URL. I'm actually verifying URLs in Wordpress with a PHP function and I would like to know if there is a built-in function that allows me ...
2
votes
2answers
216 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 ...
2
votes
2answers
471 views

add_editor_style is not loading in frontend. Any solution?

This is default wordpress add_editor_style function: function add_editor_style( $stylesheet = 'editor-style.css' ) { add_theme_support( 'editor-style' ); if ( ! is_admin() ) return; ...
2
votes
2answers
329 views

Make custom post type display as a page

I am trying to make my custom post type display on the front end as if it were a page. Depending on the theme, it won't have the date, author, etc... I've looked into creating a template such as ...
2
votes
1answer
1k views

Publish pending article from front end with a button?

Is it possible to take the blue publish button in back end of the wordpress and place it in the frontend near the post in my index.php. I need a way to publish the pending article without going to ...
2
votes
1answer
73 views

Front-End Interfaces Without Shortcodes

So, I consider myself a "advanced novice" at WordPress development but I still do not have the concept of pages and templates fully understood. I'm having an issue with a feature I'm attempting to ...
2
votes
4answers
315 views

Front-end login: Redirect user to the post they had created

Is is possible to redirect a user on front end login to a post that they have created? I have the form below on the front end which works great to log people in but doesn't quite achieve what I want. ...
2
votes
1answer
310 views

Let user edit his own comment

can I allow user to edit his own comment (without, username, url, or mail) on front-end. For example simple form on custom worpdress page with his comment and submit button. Thank you all in advance! ...
2
votes
2answers
1k views

Creating a Front-end based User Search

I am working on a membership site which requires a front-end user search. I have been searching for an answer like a mad man, and I could really use some help! While there are several plugins that ...
2
votes
2answers
2k views

Can I create front-end editable user profile pages with Wordpress? How do I do it?

I'm trying to build a WP site where using the front-end, each user can: Register through the front end using basic fields Log in Create their own profile page using multiple forms Upload text, image ...
2
votes
1answer
585 views

Edit post meta with checkboxes on front end

I'm trying to build an interface so that two custom fields for a custom post type can be edited on the front end with checkboxes. I'd like to display empty checkboxes if neither of those the fields ...
2
votes
3answers
2k views

Count Words using tinymce in the front-end

i am using a front built in (article directory plugin) tinymce with wp_editor. what ever i tried i cant get the word counter to work automatically.. i can count the words fine in the HTML tab using ...
2
votes
1answer
1k views

front end post with multiple upload images?

I am using front end post with upload image, my code if (!function_exists('wp_generate_attachment_metadata')){ require_once(ABSPATH . "wp-admin" . '/includes/image.php'); ...
2
votes
4answers
366 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 ...
2
votes
2answers
2k views

How can I edit a post from the frontend?

I have learned how to create a post from the frontend but how about editing it ? This is the code I am trying to create a simple frontend form for posting. Thank you