The part of a site that visitors see and is controlled by the currently active theme.
16
votes
1answer
19k 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
9
votes
7answers
11k 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 ...
8
votes
2answers
6k 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 ...
7
votes
4answers
4k 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 ...
6
votes
3answers
11k 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 ...
5
votes
3answers
346 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 ...
5
votes
1answer
127 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 ...
4
votes
1answer
4k 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
4answers
1k 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
326 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
1answer
1k 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 ...
4
votes
3answers
272 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
260 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
2answers
3k 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
4answers
3k 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
2answers
438 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
199 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
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
4answers
594 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 ...
3
votes
3answers
2k 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
2answers
508 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
2answers
277 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 ...
3
votes
2answers
377 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
112 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 ...
2
votes
4answers
520 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 ...
2
votes
2answers
312 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
1answer
43 views
Get names of editors to 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 ...
2
votes
2answers
71 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
172 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
2answers
246 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
1answer
448 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
893 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
3answers
195 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
1answer
729 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
2answers
1k 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
2
votes
2answers
220 views
Edit a post from frontend. post_tags get saved, but not separated
I'm building a CRM-Theme for Wordpress. So i post, edit and delete posts from the Frontend. I'm on a good way to resolve all problems, i think. But there is one failure. At the index there is a "edit" ...
2
votes
1answer
376 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:
...
2
votes
1answer
36 views
Frontend posting - everything saves other than checkboxes?
I have a form on the frontend of Wordpress which is saving all fields except a checkbox array. It displays and saves the correct values if I tick the boxes in the backend post editor, and the ticks ...
2
votes
1answer
90 views
Custom user profile URLs
I have created a page "profile" that when visited with get variable of user id like:
http://example.com/profile/?uid=1
Then it will display the profile details of user id 1. Now I want to rewrite …
...
2
votes
1answer
138 views
Create front end link to save post (or unpublish post) as draft
I have created a front-end posting and dashboard system for my users to add and edit their own posts. In the dashboard area, I have a list of their posts and the following options for each post: View ...
2
votes
1answer
497 views
Frontend editing, Frontend user dashboard
I am creating a website so that users can submit their articles from the front end. I have quite a few things set up:
The ability to submit custom post types from the front end
Blocked from the ...
2
votes
1answer
330 views
Close the media-upload thickbox right after upload is finished?
I'm working on a front-end uploader using WP's own media-uploading functions. All is well, except that I just want to simplify some UI things, like removing tabs and unnecessary information for my ...
2
votes
2answers
509 views
Autocomplete for taxonomy input boxes on a front end form
I have created a simple frontend form to allow users to submit posts - similar to the tutorial here - http://voodoopress.com/ . I also have a couple of custom taxonomies which i have as text input ...
2
votes
1answer
552 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='" . ...
2
votes
1answer
169 views
How could I execute my plugin just in frontend (not in backend)
I don't need my plugin running through wp-admin, including wp-login. How could I prevent it? is_admin works fine but i don't know how to ignore everything related to wp-admin (like wp-login.php).
...
2
votes
5answers
440 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
3answers
3k views
Uploading avatar from the frontend
in the codepad link you can find what I am using to edit profile from the front-end. http://codepad.org/QJjDEA7p
The code is working (which I got from How to edit a user profile on the front end? and ...
1
vote
1answer
1k 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
2answers
217 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'];
}
...
1
vote
2answers
133 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;
...