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

learn more… | top users | synonyms (1)

0
votes
2answers
506 views

wp_logout logging everyone out instead of just the user that clicked the logout link!

I want to display a different menu depending whether a user is logged into the CMS or not. I'm using this for my menu: <?php if ( is_user_logged_in() ) { $args = array( 'depth' => ...
0
votes
1answer
213 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"); ...
0
votes
1answer
306 views

Redirect back to origin page after using get_delete_post_link()

I need to implement frontend and backend redirection after delete specific post using get_delete_post_link(). Which hook i can use? Any advice would be appreciated. Something similar to : <?php ...
0
votes
1answer
177 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 ...
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 ...
0
votes
2answers
883 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 ...
0
votes
1answer
777 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
3answers
3k 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 ...
0
votes
2answers
4k views

custom registration form [duplicate]

Possible Duplicate: Front-end Register Form i like to create custom register form like http://www.bharatmatrimony.com/ this page in worpress ... i have searched many plugins no one helps ...
0
votes
2answers
383 views

Stop Authors from submitting spam post

I am designing a frontend for users, where they can submit an article/post from. But i am worrying if someone puts javascipt code, or SQL injection, or other malicious code. Is there a plugin or some ...
0
votes
2answers
52 views

Setting field not saving on front-end

I'm creating a theme option page and i try to display the values of two input in my front end : function register_my_header() { register_setting( 'header_options', 'header_options'); } ...
0
votes
2answers
638 views

Wordpress Frontend Check If Current User Is Administrator

I am trying to check if current user that accessing a page if administrator using current_user_can(), but it is not working and returning this message instead: Fatal error: Call to undefined function ...
0
votes
2answers
218 views

AJAX requests within templates

I'm trying to come to an accurate decision here about safe ajax requests from a template. The thing about AJAX that always scares me is that the called script location is public: ...
0
votes
1answer
182 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 ...
-1
votes
1answer
822 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.
-1
votes
1answer
131 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 !
-1
votes
2answers
927 views

Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]

What I'd like to achieve is managing tables in the front-end of a WordPress page the same way as MS Access does. So, I'd like to show dependent cascading dropdown which are related by foreign key and ...
-1
votes
1answer
699 views

Front end post form won't post categories to custom post type

Trying to get a front end post form to work with my custom post type. It posting to the post type but the 2 custom taxonomies and the tag field aren't posting/saving. Here is my CPT. ...
-2
votes
1answer
305 views

Front end post or photo or both

I need a help in correcting my code that can front end post or attach image or post&attach image ;) Now I can send a 'post' and 'post with photo' but can't send just a photo, How can I do that? ...
-2
votes
2answers
201 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
1answer
80 views

Static html/css/javascript front end connected to WordPress

I heard of an option to build websites by creating a static html/css/javascript front end and connecting that to a WordPress admin side or even an excel spreadsheet where the admin add content. I ...
-2
votes
1answer
54 views

How to upload and add images to the existing post from the front-end with admin approval which is posted by other user

I want, by admin approval, that a logged in user can upload a image and add to the post which is posted by other user. He should add the image to the post from the Front-End.
-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. ...
-3
votes
1answer
414 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 ...