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

learn more… | top users | synonyms (1)

1
vote
0answers
177 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 ...
1
vote
0answers
208 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 ...
1
vote
2answers
180 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 ...
1
vote
0answers
87 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 ...
1
vote
0answers
160 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 ...
1
vote
2answers
1k 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 ...
1
vote
1answer
30 views

How can an author be subscribed to the posts of another author and receive notifications of the new posts?

What I'm trying to achieve is to implement a function that will enable an author, when registered and browsing the front-end, to have the option of following other authors of the site and receiving ...
1
vote
1answer
747 views

Upload Image from Front End and Resize

I'm working on adding the possibility to add some custom_post_type from the front end. I can link Images to them, but apparently they are not resized. And I really need the special sizes that I have ...
1
vote
1answer
89 views

Wordpress front-end post form and email after

I have coded a front-end form that posts to a custom post type, i have a form input field for an email and when the form posts to the custom post type i want an email sent to the email address ...
1
vote
1answer
306 views

br tags on backend not showing up on frontend

I was really searching here for a solution for this but I couldn't find anything. Problem: br and/or br / tags which I put into my content on the backend were just not showing up on the frontend. No ...
1
vote
1answer
123 views

Adding a new user from the front end

I have a front end form that creates a new post from users that are not required to login. However, I need to create a new user based on the information passed in the form. As it is right now I can ...
1
vote
0answers
257 views

Front-End Custom Taxonomy Tag Select

The theme I am currently using features a front-end dashboard with posting and post editing, but the pre-existing submission form currently lacks a field to select one or more custom taxonomy tags ...
1
vote
1answer
726 views

Custom Post Type & Meta Box - Displaying meta box information on front end?

I've created a custom post type "projects" that has a meta box for additional information (client name, type of project, budget, etc). I'd like to be able to display this information on the front-end. ...
1
vote
2answers
180 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, ...
1
vote
1answer
535 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 ...
0
votes
2answers
810 views

Up/Down voting system for Wordpress

Looking in all posts with keywords "voting system, upvote, downvote", I can't find a satisfying solution for this issue, except accepting one of the available plugins, spend a lot of time undersanding ...
0
votes
2answers
1k views

WordPress Create Post from front-end

I'm having to design an e-commerce site where users should be able to create a product from front-end. In WordPress, the product will simply be a post with custom fields like Price, Condition,....... ...
0
votes
1answer
387 views

Best way to use ajax front-end?

The question is about which way is the best / easiest way to make a theme with ajax, using admin-ajax.php or normally. I ask because I see that complicates using admin-ajax.php for everything and use ...
0
votes
1answer
2k 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 ...
0
votes
2answers
449 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
1answer
412 views

Add frontend “Restore” link

I am using get_delete_posts_link($postid) to let users send their posts to the trash from the frontend. Now I'm trying to replicate the same functionality for them to "untrash" or restore the posts as ...
0
votes
1answer
285 views

how to make nsfw post with thumbanil

iam making a comic site like 9gag the front end upload page contains title upload image tags NSFW [checkbox] if every thing is normal the image become featured image of the post , i want the NSFW ...
0
votes
2answers
2k views

Saving frontend form data in wordpress

I have front-end user form like, Title Image Upload Drop Down Category Description Tag Now when a user fills the form and hits the publish button from the front-end..... at the back-end a post is ...
0
votes
2answers
198 views

Add script into front from my plugin

I have a WordPress plugin, and I must load scripts from my plugin to the front of the site. class My_Plugin { function __construct() { add_action('admin_menu', array(&$this, ...
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
2answers
2k views

Save Theme Options (options.php) From The Frontend

I try to save an option from the frontend but i can't find yet how to do it. So, the idea is to give the blog owner a simple form with a dropdown that can select a different stylesheet.css. I have ...
0
votes
1answer
3k 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
1answer
162 views

term/tag not being saved for custom post type

I have been using a chunk of code as a plugin that was suggested in the answer to this question. Please check the code provided below instead of the one in the question, as I may have modified it a ...
0
votes
1answer
57 views

Using AJAX with Forms

I am attempting to validate and submit a form using AJAX in WordPress, however, the response that I am getting is 0. According to the codex, this would seem to indicate that admin-ajax is unable to ...
0
votes
2answers
214 views

the_time() returning wrong date/time (way in the future)

Within a loop, that otherwise works fine, the_time() is giving me a date and time about 25 days and a few hours ahead of the actual date.For instance, if I post today, it lists it as "April 30th, ...
0
votes
1answer
595 views

Add a default meta_value to new posts

I have a page template that allows users to create and update posts from the front end. I also am using 2 plugins, 1 that allows the user to rate posts from 1-5 stars and another that allows them to ...
0
votes
2answers
1k views

Register new user in the frontend

I hava a big form and when a user fill it I need to create a new user in Wordpress from there. Its posible to create and user from the frontend and add some custom information? Thanks
0
votes
1answer
911 views

Uploading PDF files from the front-end

I am working on a Wordpress site that has a custom front-end form for submitting posts. I need to add a field in the form to allow users upload a single PDF file along with the post. How can I achieve ...
0
votes
1answer
213 views

Lock post editing to one user at a time - wp_check_post_lock

I am creating a website where user have to be logged in to give a price bid on a product. Only one bid can be given on the product. Therefore, I only want one user at a time to be able to give a bid. ...
0
votes
2answers
856 views

Front-end image upload from TinyME [closed]

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
613 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; ...
0
votes
2answers
460 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 ...
0
votes
1answer
746 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 ...
0
votes
1answer
39 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
2answers
388 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.
0
votes
2answers
1k views

Wordpress Backend Fine, All Themes Return a Blank Page?

I have this issue, where I can't access the frontend without a blank page anymore. It drives me crazy. The backend seems to be up just fine, but the frontend is white. When trying to chose another ...
0
votes
1answer
282 views

ajax call in wordpress front end

In my plugin i'm using two ajax calls in back end. that worked well. but to provide the same functionality in front end i loaded the copy of these two functions with another names and my code is: in ...
0
votes
1answer
349 views

WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post

I have a form in a separate PHP file in the theme directory and it's being included in the sidebar of the main page template. The form is inside a Boostrap modal. I've been trying to use this code to ...
0
votes
1answer
124 views

Check for uploaded file type wordpress way for multiple uploads

I have a form in the frontend that lets the user upload multiple images and other file types as needed. To process multiple files array I have followed this answer and here is the relevant. PHP ...
0
votes
1answer
27 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
2answers
114 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 ...
0
votes
1answer
104 views

Wp_editor doesn't send the required data

The wp_editor function is working fine concerning the displaying of editor and sending of information, except that the information is never sent as it is. In a template file responsible of updating ...
0
votes
2answers
511 views

Validating custom fields before post save

After much unsuccessful searching, I'm hoping someone here can help me out. I am using Advanced Customs Fields (I assume most people are familiar) to create a post from the front end. I want to ...
0
votes
1answer
804 views

How to insert multiple checkbox values into post as custom fields from frontend

I need to use a form in the front-end that allows people to post. I have tried to keep the minimum code in order to focus only on the issue (mentioned below) at hand. EXAMPLE FORM: <form ...
0
votes
2answers
303 views

wp_editor removes HTML and inline styles

I use the wp_editor function to display an editor in front-end. The problem is that this editor doesnt behave like the editor in backend based on the settings I give as input: $settings = array( ...