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

vice07 on "Add custom page to admin menu visible only to admins"

Hello, I want to build a custom survey and display his results in the wordpress backend. I added a new admin menu item like this: add_action( 'admin_menu', 'register_survey' ); function...

View Article



fjpalawan on "Determine wether the shortcode was called in text widget or in...

Hi Guys, I am using a shortcode api and I added a shortcode using add_shortcode. The shortcode is added to a post and to a text widget. But I want the shortcode to work only when viewing the post...

View Article

Archaic Radio on "Randomize Custom Fields from Posts"

Hi Ya'll, I'm having a hard time getting my page to display a random list of custom fields from a specific post. Below is my code. <?php $digvaud_id = 1833; $digvaud_post =...

View Article

Daniel858 on "Help me get rid of this footer"

Hi! I've found two themes that suit my website, but they both have an encoded footer. For the first one, changing it was easy enough. I decrypted footer.php and made an edit in the codes. However the...

View Article

A31 on "Nested Select Menu"

Hi, I am really struggling to get a second dropdown / select box to be automatically populated and I hope someone here can help me find my mistake. Before moving to Wordpress, I have been using the...

View Article


clickmac on "Adding Drag and Drop for user uploads"

if their is any such plugin, i don't think it would be for free

View Article

hannibal775 on "redirect to a random url stored in an array"

Hi. I'm trying to run a snippet of php in a page on my site. I am new to php, but I have enough of an understanding of programming languages to do simple things. I have figured out how to execute a php...

View Article

kutchbhi on "Allowing anonymous users to post to custom post_type"

I want anonymous users to be able to submit via a form to a custom post_type that I created i.e whatever gets posted is saved as a post of a custom post_type. Right now I have a shortcode that outputs...

View Article


dakta on "Cunstom Taxonomy Archives with Custom Post Types"

I have a custom post type with a custom taxonomy. The custom taxonomy is only registered with that custom post type. I have moved the posts index (the home page) to http://example.com/blog/ by setting...

View Article


AJD on "Redirect Wordpress Login and Forgot password running from subdirectory."

I am trying to redirect the Wordpress login away from the standard page so it doesn't break the appearance of the site. I have read and tried many versions, but none seem to work for me. I found the...

View Article

freezix on "Adding an option when hoovering a user in user.php"

Hello, I think my question is quite simple, but I couldn't find an answer throught the documentation. I just need to know wich hook I should use to modify the wp-admin/user.php to add an option when I...

View Article

5ngua on "Simple custom login plugin"

Hi there, First of all, sorry for my bad WP plugin knowledge. I just want to create a simple custom login following this guide because I do not want to add the code whenever the theme is updated. This...

View Article

hombero on "media_handle_sideload() not working, halts execution"

Hello, I am attempting to write a PHP script which downloads an off-site image from url, saves it to a permanent directory, and then attach it to a post as a thumbnail. The script successfully saves...

View Article


stephta6 on "Anchor Tags Injected Into Code"

Suddenly I noticed blank tags in my code in Firebug. They are NOT in the WordPress templates. They are showing up in Firebug only but causing the content to be wrapped as a link that goes nowhere....

View Article

Ray on "Apollo Theme Header Ad option not working"

I've got the apollo theme for my wordpress. There's an option to put a header ad without fumbling with css. However, when I tried to put my goggle adsense code nothing happens neither for Amazon ads....

View Article


mariz_p on "add user notification in bbpress moderation"

I have modified the bbpress moderation plugin since I'm not getting any response from it's author. Please see this link: http://pastebin.com/EMmZK1Zt for my code. Now, my problem is I cannot make it...

View Article

r1kay on "Problem with constructing the single post lay-out through...

I'm currently working with this wordpress theme and just created this function that adds my ads, share buttons and comment box to my post pages. However, i have some review posts on my site (you know,...

View Article


yiags987 on "Individual passwords per user to stop them editing other users...

Hi guys, I have tried many role permission plugins and none are working as I need. I have a website with about a dozen users - all of which I only want to be able to edit their specific page. All of...

View Article

gnarayan on "Comment counts: Manually add + (some number) to the count"

Okay got a TOUGH one for you guys: Have this: <?php comments_popup_link('0','1','%', ' ', '-'); ?> But I'm trying to do this <?php comments_popup_link('0','1','%+5', ' ', '-'); ?>...

View Article

ebud on "Archive Widget"

I would like to change the date format that the Archive widget outputs. Currently it like this December 2013 and I would like just Dec 2013 Any hooks or filters? I can seem to find any info on this...

View Article
Browsing all 8245 articles
Browse latest View live


Latest Images