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

Mart89 on "customising custom field format"

Hi basically i need to override the code below in funcitons php /** * Display list of post custom fields. * * @internal This will probably change at some point... * @since 1.2.0 * @uses apply_filters()...

View Article


polarte on "site hacked, fix please?"

There does not seem to be much information on this robot hack so i thought i would put it out there if anyone experienced the same hack. website title changed to: [ Please do not post that code here...

View Article


olddocks on "Strange issue with theme options page?"

I am struggling with a strange issue in my theme options page. I am trying to add a menu page under appearance for theme settings... add_theme_page( 'Theme Option','softlights Options',...

View Article

erfg12 on "Hacked site. Fixed, but cant edit 1 page?"

My wordpress site was hacked, but I changed my cpanel passwords and remove bad .htaccess stuff. There is a few pages that have their insignia on them, but I cannot remove this. I checked the database...

View Article

Luke Janicke on "Walker class for comments"

Can anyone point me to any good (and by that I mean slightly “For Dummies”) guides on using a walker class for comments? I just started writing a callback function to customize wp_list_comments() and I...

View Article


Mrurka on "Displaying parent, sub and sub-sub Categories, each on different...

Greetings all! I have some data that I need to categorize in 3 parts. For example, one item may be in Category "Farm Products" / sub-Category "Dairy" / sub-sub-Category "Cheese". I am looking to have...

View Article

romualdv on "Custom public profile page"

I want to create a custom public profile page for my shop customers. Has anyone done this before who can assist me please? I've searched MANY sites but to no avail. Any support would be much appreciated!

View Article

appleisle on "Post Author URL displays Username NOT Nickname"

I have found earlier requests on this Username appearing in the URL but no real answers & most were 4 to 5 years old - so here goes again: PROBLEM: Posts are created and display the Nickname (Not...

View Article


hasanrang05 on "add_filter with get_search_query executing 4 times"

I am trying to get search query string to submit custom table and count how many time these string searched my table column id(int), keyword(varchar), count(int) everything i made my way but problem is...

View Article


picus on "Request for another php function"

Hi, pardon the probably stupid question but I'm a newbie to plugin development. I need to do a sort of product catalogue. I've prepared the mysql tables, the db accessor php classes and the domain...

View Article

dsteen on "Cannot insert terms"

Hi Everyone, I have the following problem: I have written a plugin which adds a custom post type with a custom toxonomy to my wordpress site. The plugin runs a cronjob every 10 minutes. When the...

View Article

wiresplus on "How do I redirect to another page after a short delay"

Hello, I want to have a thankyou page, that redirects after a short pause. The page id will be 432. I tried to add the following 7 second delay/redirect <?php if(is_page(432)){ <meta...

View Article

McShaman on "Make plugin page follow standard enqueueing procedures"

I am writing an administrator plugin that helps a user write some simple shortcodes. When the user clicks on a new button in the TinyMCE editor a ThickBox window appears and loads a PHP template I...

View Article


artcoder on "pre_option_posts_per_page filter example code not correct"

The code in this codex page for "pre_option_posts_per_page" filter is not correct ... http://codex.wordpress.org/Plugin_API/Filter_Reference/pre_option_(option_name) Because I copied the code verbatim...

View Article

Scott Smith on "Making a Theme Customizer control class for .ico files"

While adding a theme option for users of my theme to upload favicons (due to [http://wordpress.org/support/topic/please-allow-standard-ico-favicon-file this request],) I realized that the...

View Article


Luke Janicke on "$user_identity in comment_form_defaults filter not working"

In my comments template, I have customized the comment form using the two filters comment_form_defaults and comment_form_default_field. It seems the variable $user_identity isn’t working. It’s...

View Article

johnnymorriswp on "Help Adding Filter"

Hi All I am using a Plugin that inserts url links into a template. I would like the links to open in a new window. I can modify the core Plugin template to do this as follows (see last line of code...

View Article


Luke Janicke on "comment_reply_link() not working"

I am calling comment_reply_link() in my custom callback function for wp_list_comment(). It isn’t working… at all. <?php comment_reply_link( array( 'before' => '<li class="reply">', 'after'...

View Article

benutzerfreund on "Show only posts with specific keyword in title"

I want to show all posts of a specific category containing a custom keyword in the post title. What works is: <?php $args = array('category_name' => 'interviews', 'posts_per_page' => '999' );...

View Article

AlphaGolf_fr on "Adding a version number to CSS (and JS) files"

I'd like to append a build number to the CSS and JS file names of my plugin, instead of ?ver=3.8, so that the latest version of the files are sent to the browser with new releases of my plugin. As per...

View Article
Browsing all 8245 articles
Browse latest View live