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

learn more… | top users | synonyms (1)

4
votes
3answers
349 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 ...
2
votes
3answers
1k 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 ...
0
votes
1answer
144 views

Get a submitted value from front end post form for single template

I'm using Wordpress Form Manager to allow users to post from the front end and I need to place values for the post in different spots in a single post template. The code they offered doesn't return ...
1
vote
2answers
615 views

frontend user with custom profile pages

i am building a website where the frontend users can register and they need to have custom profile pages - not the standard WordPress backend pages that the admin sees. There they can see their ...
0
votes
2answers
706 views

Front-end image upload from TinyME

I'm trying to edit the Q&A Plugin (which for those of you that don't know it is a StackExchange-style plugin with Custom Post Types of Questions and Answers) to incorporate image uploads. It ...
0
votes
1answer
72 views

Wordpress Submitted Content

Whats the best approach to build this site in wordpress: 2 custom user levels (students, staff). staff use standard wordpress backend, students post from frontend. one section of the site has ...
0
votes
1answer
84 views

How to create Custom image post?

I want to create a custom post type in which a post is only an image, title and description. I want to have a front-end option for users to enter such a post. What plugins do i need to play with in ...
0
votes
1answer
483 views

Front-end Image Upload to Custom Meta Box

I'm currently using a custom post type with a custom meta box for two image uploads. I'm trying to create a front-end post page where the user can upload their own images from their desktop. All of ...
0
votes
2answers
2k views

How to have content scroll over background

I'm attempting to modify the latest version of the mystique theme, and would like to have it so when I select a background, the page will lock that background into page, but have the content scroll ...
0
votes
1answer
1k views

Deleting users from front-end with wp_delete_user()

I would like admins to be able to delete users from the frontend with the click of a button. How could I use the wp_delete_users() function to create such a button on the frontend if the user ID is ...
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'); ...
1
vote
1answer
246 views

Front-end delete account in Wordpress

is there a way for a registered user in Wordpress to have in his author page an option to delete his account along with his posts without going to dahsboard? I need a front-end option in a form of a ...
1
vote
1answer
1k views

Modify front-end delete button to publish pending posts

I've found this helpful snippet to make a delete post link on the front-end: <?php if (current_user_can('edit_post', $post->ID)) echo "<a href='" . ...
3
votes
2answers
820 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 ...
0
votes
1answer
511 views

Wordpress wp_editor to post and edit

I browsed through all the topics here on stackexchange to find an answer to my problem but couldn't quite get there. This snippet enables you to post from the frontend, but how about editing. Each ...
0
votes
1answer
552 views

Front end post submission form with duplicate type fields

Here is the simple front end post submission form code <?php $postTitle = $_POST['post_title']; $post = $_POST['post']; $submit = $_POST['submit']; if(isset($submit)){ global $user_ID; ...
2
votes
2answers
756 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 ...
0
votes
1answer
1k views

Cant get front end form to post to wordpress

Long time lurker, first time poster, and big time PHP noob. Apologies if my question is a little vague, but i have the code below and I know im doing some sort of schoolboy error but it just wont ...
1
vote
3answers
801 views

Redirection not working in this front end post submission form?

I found this tutorial to create a front end post submission form: It doesn't matter what I type on wp_redirect( 'http://www.google.com' ); I don't get redirected to anywhere. Just the same page but ...
0
votes
2answers
424 views

Not redirecting upon front-end post submission

I have been trying this code to submit front-end post: http://pastebin.com/B8LGhsGA It is not redirecting upon clicking the submit button the form works fine but its not redirecting. When the post is ...
1
vote
1answer
1k views

Creating a multi-file upload form on the front end for attachments

I am trying to create a public form where users can upload multiple images to be attached to a particular post. I am able to get it to work with single images thanks to this post at Golden Apples ...
3
votes
1answer
915 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='" . ...
0
votes
1answer
627 views

Is it a bad practice to use switch_to_blog in the frontend?

From Wordpress Codex (although related to the same function in WPMU and not WP3.0+): http://codex.wordpress.org/WPMU_Functions/switch_to_blog it says: This switch is to be used for internal and ...
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
1answer
37 views

Creating a blog on my companies new website using Wordpress but I have sidebar issues

As said in the title, I am creating a blog on my companies new website using Wordpress but I have sidebar issues. The website is only in production phase at the moment. The Link is so you can see ...
0
votes
1answer
1k views

Front end user meta options for users

I have created user meta options using this tutorial. Now I want to know how to allow users to edit (update) certain custom user meta options that I created. Users already have a template account ...
0
votes
1answer
323 views

front end editing using iFrames, best approach?

I was going to give users back end access to edit entries but don't like the idea of them having access to the back end. I currently am using/developing with Adminize and Role Scooper and have set up ...
-2
votes
2answers
198 views

get backend to front end

im trying to mashup this german have gotten it to work with tinymce im trying ti mash it up with this get posting from to the front end would be glad if someone has done similar things or guide me ...
2
votes
2answers
351 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. ...
1
vote
2answers
169 views

Retrieve post info within AJAX helper function

I have a button within a post which a user can click. Once clicked, an AJAX call is made. My question is, within my PHP AJAX helper function (located in my theme's function.php) how can I retrieve, ...
4
votes
2answers
418 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
366 views

Plugin: Front-end Editor - User role specific editable content?

(using scribu's front-end-editor) Currently I have several custom fields and taxonomies that appear on posts as they are created by users. Each author is able to edit only their own posts. However, ...
0
votes
1answer
1k views

Saving custom taxonomies to post as checkbox on frontend

I am trying to save custom taxonomies by choosing checkboxes. Normally if it is selectbox, there is no problem. But when I use checkboxes to choose terms it doesn't save. I am suspected that it is an ...
1
vote
1answer
461 views

wp_set_object terms won't remove all terms [closed]

I am trying to figure out why wp_set_object terms will update the terms in a given taxonomy but when I set the $terms param to NULL it keeps one of the terms - the one with the lowest ID. I've ...
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 ...
0
votes
1answer
832 views

Custom Register Link on Backend Form

I want a similar solution like this one for my login form on the backend of my WordPress installation: Forgot Password URL Filter What I want to do instead of returning a custom forgot password url, ...
0
votes
3answers
455 views

Trying to save custom post type from frontend partially working

I've created the following custom post type (lugares means places) with a custom taxonomy of tacos and it works fine form the backend: /** * Custom post-type lugares **/ add_action('init', ...
1
vote
3answers
5k views

Create and edit posts from front end

I've created a very nice custom post type using the fantastic ACF plugin, but now I need a way for users to submit posts from the front end. Plugins like Gravity forms and Front-end Editor are nice, ...
0
votes
2answers
671 views

Wordpress User Frontend Editing Custom Fields

I'm using the plugin Wordpress User Frontend and editing the title and content of a post is nice (I managed to change it so I can edit custom post types), but there's no support for editing custom ...
2
votes
3answers
5k 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 ...
0
votes
1answer
651 views

How to update post's featured image in front-end

I created a new template page with code to allow front-end posting. Everything works great, with tags, post meta and image uploading (as featured image). I have seen many codes about front-end post ...
0
votes
1answer
949 views

add post meta front end edit

I'm trying to allow users to add meta values in my posts but it doesn't seem to be adding it in my front end post edit <!-- edit Post Form --> <div id="postbox"> <form ...
3
votes
4answers
4k 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: ...
2
votes
2answers
506 views

edit posts through front-end

It's possible to insert posts by users through the front-end by using plugins such as gravity forms or by using wp_insert_post. However, how would one handle the editing of those posts? This has to be ...
-1
votes
2answers
221 views

Are there any action like 'init_frontend'

I've found init and init_admin. Are there any action that executes just in the frontend? Thanks.
-1
votes
1answer
649 views

plugin: 'init' hook, check if we're not in admin

I've tried this inside of my plugin ('init' hook) but it doesn't work: if(is_front_page() || is_singular() || is_archive()) { ... } How could I check it using init hook? Thanks.
3
votes
2answers
526 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 ...
2
votes
1answer
227 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). ...
1
vote
1answer
249 views

Post & edit a post from front end along with upload, dropdown, and other inputs

I am following this tutorial to post from front end. I am able to post the title, content, category, tags, I would like to know is it possible to add more fields like in the image below. How to ...
0
votes
3answers
2k views

Create post from form with image

I found this wonderdul script that @Bainternet here at Wordpress Answers created, that makes it possible to attach images into posts from a html form.. I tried to combine in into my "html form to ...