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

learn more… | top users | synonyms (1)

-1
votes
1answer
134 views

How can i hide content if not friend in Buddypress? [closed]

How can I hide some specific contents or div or other stuff depending on being friend or not in buddypress ?? I tried to use the bp_is_user_friends() function but it did not work !
0
votes
1answer
34 views

Check in function on custom page

I have a website about places and attractions in my country. Each place/attraction is a different custom post. On this page, i would like to add a button with the value "Check In" and if clicked by a ...
0
votes
1answer
457 views

Change Post Status From Front End

I am using the code in a page below to let users delete their posts from the front in. I have wp-admin totally blocked off to site users. What i want to do is when they click the delete button the ...
0
votes
1answer
525 views

Post visibility option to theme front-end for author to select?

Is it possible to present author with an option to select visibility of a post (public, private, password) on theme front-end post adding without messing with Wordpress core? Any suggestions are ...
1
vote
1answer
494 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
2answers
248 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
363 views

Link or button to open the media manager from frontend

I am trying to figure out if there is a way to add a link or button that will open the media manager/library on the front end of the site? I don't need to select images for insert or to select images ...
0
votes
2answers
70 views

updating meta_key from the frontend

I am wanting to update the meta_key in the database to reorder postmeta from the frontend. I'm using jQuery UI drag and drop to move items into an order, I can update the values but the meta_key is ...
2
votes
1answer
542 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 ...
0
votes
1answer
343 views

Get all media files for current author

I'm trying to create a list on the frontend of my site of all media items that the current user has uploaded. It seems like the way to do this would be to loop through and compare the ID of the ...
1
vote
2answers
903 views

is_admin() returns true when using admin-ajax.php from front end script

Had a situation today where I was using admin-ajax.php from a front end script. As I understand it this the wp way to make ajax calls (registering my function with the wp_ajax_nopriv_myfunction hook) ...
0
votes
1answer
234 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. ...
2
votes
2answers
655 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 ...
1
vote
1answer
2k views

insert post & Upload post thumbnail from the front end using ajax

i have searched & searched for an explenation and have found some answers that seem to be working for other people on this topics but i havent been able to get working. This is my "form" <div ...
0
votes
2answers
2k views

Get an image from url in front end submission form

I am building a user generated content sharing theme so how can i allow visitors to upload an image from a url i mean to say that they enter the url and the image gets automatically attached this is ...
4
votes
1answer
723 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 ...
-2
votes
2answers
1k views

Is there a secure way for the public to submit images, videos, and documents using WordPress?

I want the public to submit images, photo simulations, models, video, animation, illustrated narration, papers and other publications and multimedia. images - 30" x 42" 300 dpi . pdf format file size. ...
0
votes
1answer
783 views

Upload PDF and other files from the Front-End

I am trying to create a medical website, where logged-in doctors can actually upload pdfs and other files (such as jpg) from the front-end in posts. Then, after reloading the page, the uploaded files ...
2
votes
1answer
2k 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 ...
0
votes
1answer
802 views

Create a Category with a front-end post

I'm creating a buddypress site in which a single post will create the trunk of a related series of articles. From that trunk article, related branches of posts will stem outwards. Anyone signed up ...
2
votes
2answers
657 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; ...
4
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 ...
2
votes
1answer
477 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! ...
1
vote
1answer
3k views

Get user input from a form

I am trying to create a form that will allow users to update their information on the front end. I am just starting to learn PHP (I know C# very well). If I use this code to create a form on a ...
0
votes
1answer
406 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
326 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 ...
2
votes
1answer
307 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 … ...
1
vote
1answer
252 views

Crafting WP_Query array, sort by date

question about wordpress WP_Query: 'post_type' => 'event_date' outputs dd/mm/yy ex: 31122012 I would like to order my frontend 'event_date' output not by latest WP post entry but by latest ...
0
votes
3answers
2k views

Replacing textarea with wp_editor

I have a working front end posting system on my site that initially I designed with a simple text area for the content. I am now attempting to swap the textarea out with the TinyMCE function, ...
4
votes
3answers
473 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 ...
1
vote
1answer
44 views

Create a shortcode that creates a form for users to edit their information

I want to make it so that logged in users can edit their information on a page in my site, so that I can avoid having them go to the admin side all together. I was thinking that I could create a ...
0
votes
1answer
733 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
1answer
77 views

ajax page template

I am creating a wp theme that gets all its data via ajax (using ajax-admin.php). Now, I've set a div that would have the html of the page there (in the index.php file). My index.php is a simple one, ...
0
votes
1answer
107 views

Function is Missing an Action Hook

I have tied an action into a status change, which works on the backend. However,using a frontend button for updating post status does not trigger the ...
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
485 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 ...
2
votes
2answers
3k 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 ...
0
votes
1answer
58 views

Create a link which allows visitors to disable a plugin?

Is it possible to create a link that allows site visitors to disable a plugin? I'm using a plugin called "any mobile theme" which automatically detects if the visitor is on a mobile device and ...
0
votes
1answer
1k views

wp_update_post is not updating category

I am using this custom function to add a publish/unpublish button to the front end of my site for the users: if ('draft' == get_post_status ($post_id)) { $post = ...
2
votes
2answers
662 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" ...
0
votes
5answers
9k views

Create front end member login

I am very new at all this and not a programmer. I want to know how to create member login section on the site allowing users to see data that is not visible to the public. I am not sure how to go ...
2
votes
2answers
2k 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 ...
0
votes
1answer
843 views

Front-end update_post_meta with ajax

as written in title I'm trying to update a post_meta using Ajax. Actually I'm a complete newbie to Ajax and how it works so, if it is possible, I would appreciate if someone could 'take me by hand' ...
0
votes
1answer
230 views

display custom portfolio tags

This is a part from the code that is used to display portfolio categories: $post_cat = array(); $post_cat = wp_get_object_terms($post->ID, "portfolio_category"); ...
2
votes
1answer
2k 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 ...
0
votes
2answers
1k views

Front-end registration form with password field

I'm trying to create a front-end registration form for my Wordpress website. The registration form is in the header, so any plugins I've seen don't work as they use shortcodes. Look at my website for ...
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='" . ...
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
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
2answers
626 views

Categories from front-end, checkbox selection doesn't work

I'm using the plugin Post from site, which sets up a WP front end writer. I changed some line of code because I need to select categories with checkboxes and not with a multiple select (as it was ...