Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Browsing all 8245 articles
Browse latest View live

moskalak on "$_SESSION variable not being properly unset"

Hi, I'm trying to create a "hidden page" functionality in my theme. It should work like this: 1. User goes to a page. 2. When something happens, a $_SESSION variable is set that allows to access a...

View Article


sinemac on "Any way to add exceptions for sanitize_post() ?"

I've edited a quiz plugin to get the report content added as a post. The problem is that when it's added, some of the content necessary to achieve what I'm after gets stripped out. I'm trying to do a...

View Article


danni.gutierrez@gmail.com on "functions in function.php"

Hi there. As I am relatively new to this topic I did not realize where I should put the call to a function (declared in functions.php) to hide a menu item admin panel. If it's not too much trouble...

View Article

djones8520 on "get_posts the_content() problem"

I originally used $key->{"post_content"} in the code below, but that didn't take any of the formatting into account. From what I've read the_content() should work with get_posts(), but it isn't...

View Article

honza.skypala on "Using "Add Link" dialogue in my own plugin"

HI, in my own plugin (in the admin part of the plugin), I would like to use the dialog for adding a link, the one that is normally used in the post editor. Is there a simple way how to use this? Thx,...

View Article


queenielow on "Allow user to edit/view/create their own page only"

Hi There, Is there a way without hacking the core to only allow user to edit/view and create their own page in the Dashboard, so they are not able to view other pages that is not created by them?

View Article

Serensites on "Scan post for YouTube embed and insert into custom Field"

Hi, I am migrating a fairly large wp site and changing themes. The old theme has youtube videos embeded but the new one requires the youtube url to be entered into the custom field. Can anyone help me...

View Article

Kittyridge on "Custom featured image size on first post only"

Can anyone provide a function to specify the featured image size for the first (most recent) post only? The featured image size needs to be untouched for all the other posts. Only the first post in the...

View Article


AMcCarrick on "Is get_results Already Escaped?"

Question regarding the get_results method on the wpdb class... Is the query entered into the get_result method escaped by get_results or should I be placing a call to the prepare method inside of...

View Article


bigmike7801 on "How to structure WordPress plugin to display data from API"

I am creating a plugin that connects to a remote API that has car listings and displays the data that's returned in that call. The plugin essentially does not need to interact with the WordPress...

View Article

queengab on "Manage image problems after migration from wordpress.com to...

Hi to all, how are you? It's a very long time i don't post on wordpress forum. I have some question and some suggestions for all about the migration from a blog on wordpress.com to a self-hosted wp...

View Article

queengab on "Modify comment form"

Hi to all, i have another little question for you! I'd like transform my comment form like jetpack comment plugin. How can i do? How can i have a form only with the field leave a reply and deleting all...

View Article

dgomez1 on "Adding HTML to Post not Possible - Can't click "Text""

I am trying to add a Bootstrap template to a single page of my Wordpress site. However, when using the VISUAL EDITOR, I am not able to click on the TEXT editor in order to add the appropriate HTML. How...

View Article


xennex81 on "Anti-spam registrations"

Hey I'm just curious... I opened up registrations on my live beta site, and immediately started receiving a (few) spam registrations. Now I know that there are plugins that can guard against it, but I...

View Article

danhoat on "retrieve_password for customizer"

Hi WordPress, In my site has form lost password and retrieve password, but i can not reuse the function retrieve_password(). Also, This function related to security and i think it will be change for...

View Article


dannydanny on "Google Webmaster Errors -- Theme Twenty Twelve"

Part 1 (part 2 below) I'm using the theme Twenty Twelve and I have searched high and low across the Internet for the solution to my problem. I'm getting this error in google webmaster tools: Error:...

View Article

Sandeep "The Shawn" Tripathy on "Conditional Tags on User or User Role/Type"

I am trying to check if the logged in user is the same as the author who created the post/apge. If this results in true then I want to display some text, if not something else. for now I'm using : [...

View Article


adams_000 on "my files gets leaked"

Hello Everyone, I need your help. I run my website on wordpress which is about my ebooks. But unfortunatley hackers are able to download those ebooks without going through legal steps I.e making...

View Article

rezahashemian on "user sign up time"

hi i need the hack that show user sign up time

View Article

Josefward on "How to get feed url in wordpress blogs?"

Please How to get feed url in wordpress blogs ?

View Article
Browsing all 8245 articles
Browse latest View live