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

learn more… | top users | synonyms (1)

0
votes
1answer
148 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
0answers
128 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
69 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
104 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
274 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 ...
0
votes
0answers
139 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
0answers
61 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
2answers
150 views

Showing wordpress theme demo at front end

i am an wordpress developer and i am currently in a project in which i have 15 wordpress responsive themes and can be downloaded by users of my site. In this , i want the feature to show the user ...
0
votes
2answers
306 views

Ajax functions - no access to wp-admin.php only online

I'm having some trouble with my custom ajax function. I have this on my console log : "POST MYSITEURL/wp-admin/admin-ajax.php 302 Found". So my functions won't work... And I really don't understand ...
0
votes
1answer
357 views

Front end posting

This source works with image upload. Without image upload, it works, but 'redirect' doesn't work. What should I do?? Any suggestions to what the problem might be? if( 'POST' == ...
0
votes
0answers
43 views

Large front end file uploads on cloud

I need to setup a front end page to permits users not registered to send me big files (500mb). I would prefer to host theese files in the cloud and not on my webserver. I thought the best solution ...
0
votes
0answers
37 views

display admin content in the public site

I would like to display the page list or post list (or similar from plugins) from the Admin section to logged in users on the front-end of my wordpress site. Any idea how I can do this? I need to ...
0
votes
1answer
90 views

Turn wp_tag_cloud into a front-end filter

I have a photo gallery with wp_tag_cloud in the sidebar to display hierarchical taxonomies that categorize photos. The taxonomy name is person. <div id="filter"> <?php wp_tag_cloud( array( ...
0
votes
0answers
298 views

Front end form submission/processing, without using a template file

I'm writing a plugin which has a front end form that is generated by a shortcode. I'm struggling with processing the form submission in any way. Many tutorials describe placing form processing code at ...
0
votes
0answers
84 views

How to allow user to add to, but not edit, a post?

I saw something very nifty on peerwise (basically a med students social network for making exam questions) that allows people to make additions to something but not edit the original post. I ...
0
votes
1answer
365 views

wp_editor on front end media upload jquery live error

I have set up a front end editor for a project I am working on. The editor is inside a div with display set to none. The user will click a button to get the editor div to show up. The issue I am ...
0
votes
1answer
499 views

Three level taxonomy dropdown frontend

I have a code in my functions.php to display 3-level taxonomy dropdown: $brand_taxonomy = 'county'; $taxonomy_name = 'Vietovės pasirinkimas'; ...
0
votes
0answers
63 views

Plugin frontend with themes

I'm developing a calendar plugin and i need to show my content like a page, how i integrate my plugin file with themes? I created a index.php file in my plugin directory and load the get_header() ...
0
votes
0answers
116 views

User driven content problems

I am trying to build a website that will allow users to post from the front end. I need to be able to have the user enter a title, a category, and tags. For the content of the post, I would ideally ...
0
votes
1answer
279 views

Widget Development - Displaying dropdown content

I'm using the following code to create a widget to select a post from a dropdown - which works fine in the backend, but I can't figure out how to display this on the frontend... <?php class ...
0
votes
1answer
33 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
383 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
273 views

Upload unnattached image from frontend

I am using the below function to let users upload files from the front end. It works great except that I would like the file to NOT be attached to any post. Currently, the file is automatically ...
0
votes
1answer
328 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
65 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 ...
0
votes
2answers
303 views

Front end login form not working on live site

I am using the front end form submission. It works on localhost perfectly, but it's not working when my site is live. It shows the "success message", but originally it's not logged in. This is my ...
0
votes
1answer
349 views

How to add a full edit link to front-end editor?

I would like to add a full edit button to the Front-end Editor plugin. It's currently like this: [EDIT] Text text text I would like to make it like: [EDIT] Text text text (enables front-end ...
0
votes
1answer
73 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
165 views

Front-End Editor email notification issue

I'm trying to send a notification email when a user updates a page/post, either in the backend or by using the Front-End Editor. It works fine when updating in the backend but no data is emailed ...
0
votes
1answer
80 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 ...
0
votes
2answers
805 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 ...
0
votes
1answer
105 views

Front-end login problem: requires re-authorization when accessing dashboard

I have created front-end login form that allows users to login from front-end. However, when trying to access Admin section (dashboard), WP's default login form is displayed and user authorization is ...
0
votes
2answers
465 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
187 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
286 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
164 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
817 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
727 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
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 ...
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
373 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
287 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
210 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
2answers
289 views

Frontend Form for Custom Post Type

I want to add frontend post to custom post types. Till now I have figured out how to do it but only to the regular post type(not custom post). I am using this code. (Couldn't paste it here hence ...
0
votes
1answer
151 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
742 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
118 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
1answer
638 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
296 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? ...