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
67 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
312 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 ...
0
votes
0answers
124 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
16 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 ...
-3
votes
1answer
208 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 ...
0
votes
2answers
100 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
0answers
23 views

Slideshow of posts

I am trying to find a way to achieve the following: -- I have a section in my home page that lists all posts, since i am using bootstrap, i put every post in a 3 col grid, so 4 posts for each line. ...
0
votes
0answers
11 views

Lock my blog only for me [duplicate]

I'm creating a blog to write my daily notes. Actually it's a Diary. So, I am the only one who writes it and only one who reads it. I don't need anyone else to see it. So, I need to lock my entire blog ...
0
votes
1answer
129 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
0answers
54 views

Add a popup message on frontend?

I want to show a box or a widget with HTML content at the bottom of a page to show the reader a message s/he can dismiss. Here is an example: Can one of the built-in JavaScript libraries be used ...
0
votes
1answer
56 views

Front end Submit not posting to Custom Post type

I have a custom script that allows to add per form submit to add contacts to a custom post type. But for some reason it always adds the data to the posts instead into the post type. i have tried ...
0
votes
0answers
104 views

How to display errors on Frontend Form

This is my frontend form to edit user's profiles in the frontend: /* Get user info. */ global $current_user, $wp_roles; get_currentuserinfo(); /* Load the registration file. */ require_once( ...
0
votes
0answers
161 views

Update Post Meta of crowdfunding plugin on click front end

I'm using the astoundify crowdfunding plugin which has a lot of custom fields while creating a campaign. I'm trying to create a save and preview functionality on that page. There are at least 20 ...
0
votes
1answer
76 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
0answers
98 views

Function working in single.php but not working in custom template file

I defined in my functions.php the following code: function fix_footnotes($content){ return preg_replace('/href\s*=\s*"[^"]+(#[^"]+)"/','href="$1"', $content); } When I call this ...
0
votes
0answers
574 views

Using Advanced Custom Fields plugin's file type “File” to upload from front end

here is my current situation: I already have a custom add/edit form with unique features, so I won't be able to use "ACF's front end form" that will create a form of it's own. For standard text ...
1
vote
0answers
128 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
1answer
739 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
582 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
1answer
322 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
306 views

Add term for custom taxonomy from front end

I'm having problems trying to create a custom type post with taxonomies using a form at the Front End. I have tried to add several lines of code and use 'tax_input' but I always get errors. The ...
0
votes
1answer
604 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
225 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( ...
0
votes
0answers
38 views

How to implement checkbox with Front-end Editor

I can't implement editable post meta checkbox with Front-end Editor plugin (http://wordpress.org/plugins/front-end-editor/) Here is the code: <?php editable_post_meta( get_the_ID(), ...
0
votes
0answers
54 views

Create a form with media Library on frontend

I have created a form for my custom post-type. There is a problem with uploading images. I don't know how to use media library. because media library has a good option which users can place images ...
0
votes
1answer
93 views

select box not checked and is not saved

I needed to assign categories to post from frontend and found this fantastic thread here on this site, which generates a form at frontend with selectboxes. The plugin automatically appends the form ...
0
votes
1answer
324 views

SImple Example To Update User Info From Front End [duplicate]

I want to give user ability to update their nickname from front end using wp_update_user and shortcode. The code below is working. add_shortcode('user-profile', 'get_current_user_prof'); ...
0
votes
0answers
132 views

Allow authors to edit pending posts

I am using the WP User Frontend plugin so that frontend user can create posts. The users creates a post, the admin has to review/publish it. Then if needed, the author can edit his posts, they are ...
0
votes
0answers
231 views

Display a Meta Box on the frontend and allow user to update it there

I run a multiple author platform where many users have editorial privileges. I'm in the process of moving all editorial tasks from the Post edit page to the front-end (Post preview). I have added an ...
0
votes
1answer
23 views

Missing items on page

I'm missing items on my web page and I think it is due to some jQuery problems. But I'm not sure and I am unable to find the bug. On this site, on the upper-right corner there is a shopping bag ...
0
votes
0answers
91 views

adding option-tree list items metaboxes from front end

i am using option-tree to add metaboxes to a custom post type and i want to update the list-item metabox from the front end. The list item consists of Name, state, and coountry as repeatable list ...
0
votes
1answer
117 views

is_admin() conditional statement

I built front-end log in like this. <?php if( is_user_logged_in() ) { ?> <?php /* Template Name: front page */ get_header(); global $user_identity; $redirect = ...
0
votes
1answer
154 views

Frontend tagging for both default and custom post type in wordpress

Wordpress backend (post-editor-panel) offers such an excellent tagging tool wherein we can choose from already existing tags. Is it possible to bring this functionality to the frontend without fancy ...
3
votes
1answer
36 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 ...
0
votes
0answers
104 views

Let admin users edit member profiles from front end

I'm using WP User Frontend Pro, but the pro version lacks the feature of letting admins edit registered users profiles from front end. I'm building a web app using WordPress, and the administrator ...
0
votes
0answers
67 views

Limit Form Access and Require Some Fields

I have gotten a "post from frontend" php code example, and I have tested that it works for my site. But I found that it can't define only logged in user to submit post. Also the code can't display ...
0
votes
2answers
59 views

How to disable accessing the custom post types from frontend via a link?

I am registering a custom post type like: /* POST TYPE: SECRET CARDS */ function register_post_type_secret_cards() { $args = array( 'labels' => array( ...
0
votes
2answers
91 views

printf, translation and the_author_posts_link()

For some reason the following code is not displaying correctly on the frontend of my site - <?php printf( esc_attr__( 'About %s', 'textdomain' ), the_author_posts_link() ); ?> Instead of ...
0
votes
1answer
115 views

Front end update_post_meta Help

I followed the help provided in this question but cannot get the form save the data. I tried using 'save_post' action hook to try and save the post like we do for admin side. Any help would be highly ...
0
votes
1answer
216 views

User Attach Images To Post From Front End

Making a site that deals with custom parts. Id like to make it so when i make a post about a part i have a image upload button on that post in the frontend that lets users upload their custom pics to ...
1
vote
3answers
2k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...
0
votes
0answers
322 views

How I Save Value Created In My Dynamic Custom Meta Box Form

So, I have successfully created my dynamic custom meta box that can add and remove form field using jquery, but I have no idea on how to save its entered data and retrieve it in the front end. Have ...
0
votes
0answers
143 views

Wordpess frontend posting -> Featured image

I'm currently making a custom Wordpress theme with custom templates for users to keep them 100% front-end. Now i am creating a frontend posting template but i'm stuck, i can't find a method to get ...
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 ...
0
votes
0answers
87 views

How to add tags on attachment with Frontend Uploader plugin?

I am using Frontend Uploader plugin to allow people to upload images on the frontend of my website. I need to allow them to add tags to attachments. I am using Attachment Taxonomy Support plugin and ...
0
votes
0answers
112 views

Lock Display Name To Nickname

Using the following code to change the author url links to their nickname. The issue is it seem to be conflicting and trying to use the display name instead. Can i lock the display name to the ...
0
votes
1answer
52 views

Get Users Post ID

I need a lil something done and I have looked over Google for and cant seem to find, not even a close solution. My site is totally user front end with wp-admin being blocked by users. When a user ...
0
votes
1answer
126 views

How to add “alt” attribute for image during upload at WP front-end?

At WP Front-end I create a upload form for users. That form has three input fields (title, tags and upload). So I want to add "Title - Tag - file_name" as alt attribute for images during the file ...
0
votes
0answers
60 views

Can user login and create posts (pages) from the front end?

I am working on a Wordpress site to let user login and post a post (or a page) from the front end (similar to Stackoverflow). If another browser is interested in you, they can donate you. I know these ...
0
votes
1answer
252 views

Better solution for managing media attachments with `wp_editor()`?

Currently using wp_editor(); on the front-end of my website as a content submission form. All posts submitted are set as a "Pending", which will later be published or deleted by an administrator. The ...