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

A31 on "Insert PDF File to Custom Database Table"

Hi all, Can anyone please advise me how I can insert a PDF file that a user selects from a html form into a custom table in the database? My code so far is: $OrderNumber= $_POST['txt_OrderNumber'];...

View Article



jjkiesch on "shortcode to add content to other parts of the page"

i created a shortcode for my site that allows them to have content show up in a lightbox. when the html for the lightbox content gets rendered, it is displayed inside of the parent tag that holds the...

View Article

kia_williams on "From 'custom post type' ... to post submission form?!?!?!?"

I have "post from site", give a nice box in a widget with text area for title -and- blog post.. all well. except, I have no use on my site for front-end -blog- posting, at least in terms of. "text area...

View Article

Devtard on "Some allowed_tags can't be changed"

This code removes almost all allowed_tags in comments: define('CUSTOM_TAGS', true); global $allowedtags; $allowedtags = array( ); This is what is displayed under the comment form (regardless of the...

View Article

crempel on "My plugin breaks Post Preview"

I'm having a problem with a plugin that I've been developing. The problem is that the plugin breaks the ability to preview a post, whether it's in draft or published. It simply brings up Wordpress's...

View Article


Devtard on "How to print a message after submitting a comment?"

Hello. I want to print a message after submitting a new comment. Any idea how to do that? (I've tried using comment_post, but it doesn't let me print anything.)

View Article

brometheus55 on "Help with WordPress Permalink 301 Redirect via .htaccess"

I am currently attempting to change the permastructure of all of my WordPress posts from: /%year%/%monthnum%/%postname%/ to just /%postname%/. I have already made the change in WordPress and added the...

View Article

kikimarie123 on "Next/Previous Posts Link with Custom Post Type"

I'm using custom post type to query all the posts from post type: 'news-articles' and under a specific meta value. I've tried everything to get some next/previous links to appear and nothing is...

View Article


dubzzdigital on "Adding a second button with php code?"

Hi all, I have the website Cottage Flair and I am wanting to add a second button next to the "Shop Now" one in the purple bar of the homepage. I have tried editing the php functions myself but can't...

View Article


Claudio on "How to copy post into page"

I need to render a given post into a page using a shortcode. The page shall look exactly as the post (but must be a separate post/page). In the shortcode function I was able to retrieve the post using...

View Article

zearth on "can I used slug instead of ID in add_rewrite_rule?"

question can I just used slug name instead of id for this kind of add_rewrite_rule add_rewrite_rule('news/([^/]+)/?$','index.php?page_id=$matches[1]','top'); I'm not sure if what parameters for the...

View Article

Novalyyn on "Filter to post title only"

In the plugin I'm working I'm trying to filter a little piece into the titles of posts, but only when that post is being shown. I have a quick is_single() check to prevent it from showing up on other...

View Article

omegaredmedia on "How do you make checkbox create automatic tag?"

I am looking to have a checkbox on my form create an automatic tag to my custom post type. At the very bottom of my form I have a checkbox to make my listing featured I want it to create an automatic...

View Article


uwwedoogie on "Can somebody explain this hacked page to me?"

Please & thanks! <section class="content-narrow"> <div id="content"> <header class="page-header"> <? the_title(); ?> </header> <? $pages =...

View Article

vallsymachinant on "Show User Password ecrypt in MD5 - not in PHPASS"

Hello to you, For the purpose of connecting to an external application to my site in wordpress, I need to get the word pass my users encoded MD5 and not PHPASS WordPress. After various searches without...

View Article


paulf9 on "Slider Plug-In"

I am using the Zee-Noble Theme which uses a plug-in similar to the responsive slider. The slider only allows for two slider images to display. I have changed the php in the slider-settings.php so that...

View Article

theleafszone on "integrate blueimp ajax chat with wordpress"

Has anybody integrated the blueimp ajax chat with wordpress (login to wordpress, automtically logged into chat). Seems like it should be fairly straight forward but not sure where to start

View Article


mirgcire on "How to find documentation on wp_remote_get arguments"

I have tried web searches and codex, but all I have learned is that it takes a second parameter $args, but no description of the options available. Specifically I am hoping to find an parameter that...

View Article

prepare uses single quotes instead of backticks"">danixland on "$wpdb->prepare uses single quotes instead of backticks"

Hello everybody, I'm writing a couple functions that should go and read data from a custom table I've set in the database, right now I'm just using $wpdb->get_var and $wpdb->get_row, both with...

View Article

kitcorsa on "Direct Required - Flooring Site - E-commerce/booking"

Im looking for a bit of advice or direction here, Im looking to make a site for my brother who is specialist flooring expert who can supply fit and repair floors. What i'm after doing is creating a...

View Article
Browsing all 8245 articles
Browse latest View live




Latest Images