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

Riccardo on "Force download not working as expected"

On PHP I usually I use these lines of code to force a download: header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream', true, 200); header('Content-Disposition:...

View Article


steven-stallone on "Embedding Video above post bar and side bar"

I have been trying for a while now to figure out how I can get video from YouTube to embed themselves above the post bar and side bar. Let me show you what I mean: http://www.cinema5d.com/?p=23178 Now...

View Article


giampietro on "Save data to Mysql from page template form"

Hello to all, I'm trying to save the form data from one page to wordpress Mysql database in ajax. The script works but the data is not washed out, if anyone can help me thanks! save_data.php content:...

View Article

Diego Quintana on "get_calendar future posts and choose category"

Hey everyone. I've been looking all over the place for this but just can't get it to work. I need to get the get_calendar function to use both published AND future posts, and need to be able to choose...

View Article

helika on "Custom image size in new media uploader"

I am developing a relatively simple Wordpress plugin for a client. It is used to upload/select images which are then saved (as image path) in the option variables and used as full-background images for...

View Article


Feyisayo1 on "Where to edit in wp-login.php"

Hey guys, I built a website for a client and he has been bugging me on changing the "Repeat Password" text on the WordPress register form to something else, I have searched the entire wp-login.php file...

View Article

JeremyCh on "Tried to write a very basic plugin, help please plugin gurus !"

I tried to write a very basic plugin, taking information from the net. For the moment I am yet to add any proper code, and first I was checking if things were working. I found its not working, both of...

View Article

charles_i on "How do you switch the down state of image based navigation...

I am converting a site into WordPress. The site has image based navigation with rollover buttons and a down state when you are on the current page. The site is here...

View Article


varun p on "Adding custom option to menu items in wordpress"

I would like to add a dropdown field to the existing menu items in menu editor in wordpress. For example,When I add a page/post to the menu,I get a collapsible panel,in which there are navigation field...

View Article


clementaurny on "Unable to activate Jquery roundabout for Post"

When activate the plugin Jquery for roundabout, i have an unexpected error syntax : Parse error: syntax error, unexpected 'elseif' (T_ELSEIF) in...

View Article

gulliver on "Custom message on admin page after disabling visual editor."

I use a mod to disable the visual editor for all users. add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 ); add_action( 'admin_print_styles-profile.php',...

View Article

mindgamez83 on "Sports Score Ticker"

Hey im running a gaming community, im looking to add a sports score ticker like espn has. Something that i can update manually. I ve searching everywhere. If this is unappropriate i apologize

View Article

bighearts on "Our site has been hacked"

How do I get rid of viagra pop-ups and virus warnings on site.

View Article


Bbaale on "I need help on how to add selected()"

Am coding a plugin which creates a wigdet where a user selects from the available categories but I don't how to add selected() and how to check if user selected any option. Below is my code. <p>...

View Article

tnoguchi on "Display Groups of Custom Posts by their Custom Taxonomy Term"

Hi, I'm trying to output a portfolio page composed of sections of CPT post thumbnails organized by their custom taxonomy term slugs. While it's easy for me to output the terms associated with the...

View Article


DoodleDogCody on "Register Post Type - Capability Type (nav menu item)"

I am wondering if it is possible to create a custom post type that behaves like a nav menu in the Admin area. Basically I am working on a card tournament project that will require me to set up...

View Article

Avi Tannenbaum on "Auto generate template sub-page with username as title"

Hi, How do I automatically generate a sub page for every user that registers to my site? I want the title of the automatically generated page to be equal to the username of the user and be placed with...

View Article


cold_ on "Modify slugs with own algorithm"

Hi there, I need to get rid of accents of the title being replaced to latin equivalents. For instance from a title 'Hôpital' the post slug will be 'hopital', but I have to get 'hpital'. I managed to...

View Article

IqraShahid123 on "Short Code Ordering."

Hi, I have created the short code that display some text. When I display the content it's order changes. I want my data of short code should appear before the body content. Any advice for this. Thanks,

View Article

taiki_d on "WordPress PHP Form Code Error"

Hi all, I'm looking for a bit of help. I'm a bit of a noob when it comes to php and I've put together the following code. What I'm trying to do is give the subscriber 3 dropdowns, and I then want to...

View Article
Browsing all 8245 articles
Browse latest View live