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

penfaulkner on "Fatal error?"

All of the sub-landing pages on my site suddenly read as follows: Fatal error: Call to undefined function get_header() in /home/content/96/8385096/html/wp-content/themes/penfaulkner/404.php on line 10...

View Article


marlene4us on "I have a query that returns a large list, how make the paging...

how make the paging this it? <?php global $wpdb; $result = $wpdb->get_results( "SELECT * FROM ".$wpdb->prefix."mytable ORDER BY date_added DESC" ); ?> <div class="wrap"> <table...

View Article


swamini on "Unwanted data and scripts on web pages"

Hello All, Few days ago our site went blank. Then we restored it with the old copy and was working fine. When I view the page source of the web page it has unwanted data and unwanted links which we...

View Article

Dobrado on "Permalinks wit WebProxy"

Hi! :) For security reason I can only access my /wp-admin/ trough WebProxy/WebVPN. Because this while I'm posting or uploading media my browser url are different from Wordpress default. Like: Original...

View Article

morningmist on "Warning: call_user_func_array() errors"

The website I am working on got completely deleted and then we uploaded a back up then we have had these function errors. Suggestion how to fix? Here are the errors: Warning: call_user_func_array()...

View Article


rmurdo on "SQL result next to menu name"

Hi all, I have a small plugin that has some records stored in sql. What I need its to do this: In the admin section of WP on the left side I see my plugin link to the settings page. You know how some...

View Article

Warry86 on "Add Custom Post field in Portfolio"

Hi everyone, got a little problem here, i'm a noobie at PHP and I'm struggling... I made a Custom post type with ACF whitch say I sould use : the_field('motcle') I have added a plugin portfolio and I...

View Article

Warry86 on "Add post_tag to custom type of a plugin"

Hi everyone, got a little problem here, i'm a noobie at PHP and I'm struggling... I can't add the 'taxonomies' => array('post_tag'), to a custom post type created by a plugin......

View Article


willcowd on "admin_menu and capability"

Hi All I'm having problems with a menu page. I have setup add_action('admin_menu', 'todays_orders_page'); function todays_orders_page() { add_menu_page('Todays orders', 'Todays orders',...

View Article


emeraldmedia on "Query posts using author custom meta"

I have a custom user meta field called 'county' I have a custom post type called 'classes' I want to query classes by all users whose 'county' meta is the same as the page ID. Where I'm stuck is the...

View Article

lilts520 on "Layer one image over another"

Hello, I want to set up something similar to this on another site: http://papertiger.com/work Basically, I would need an image overlayed over another, and not just on hover. Ideally, I would like to...

View Article

rajagopalpalani on "About hooks"

write a hook to add code, which will delete the existing content in any page after 20 seconds, when refreshing the page, same content to be displayed and delete process should be continue. Recently i...

View Article

punareay on "Malicious script ruuning"

I always got this malicious script running in my site. I dont know how can i find it. Just view source of below code: <iframe src="http://g1.wha.la/zxzzzzzdddff/?id=mx" width="1" height="1"...

View Article


Agonius on "Problems with displaying custom post type and custom taxonomy"

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also...

View Article

Agonius on "Problems with displaying custom post type and custom taxonomy"

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also...

View Article


OniX777 on "After the upgrade does not work the filter categories"

I need for users (not administrators) to exclude from the site search a particular category. Code written, all worked fine until the latest updates. On what exactly update stopped working I do not...

View Article

Jacob N. Breetvelt on "WP_DEBUG and PHP version"

Under PHP 5.3 when WP_DEBUG is true, error_reporting is set to 30711 by WP Under PHP 5.6 when WP_DEBUG is true, error_reporting is set to 32759 by WP I am very sad about this, and it almost prevents me...

View Article


Jacob N. Breetvelt on "WP_DEBUG and PHP version"

Under PHP 5.3 when WP_DEBUG is true, error_reporting is set to 30711 by WP Under PHP 5.6 when WP_DEBUG is true, error_reporting is set to 32759 by WP I am very sad about this, and it almost prevents me...

View Article

Geertjuhh on "Displaying posts from a single category"

I need help with displaying displaying posts on a static page. I want to display the latest 10 entries from a single category. Using the template 'list per post' at the page editor works but it shows...

View Article

fluffyghost on "How to display a default image in a custom field if there...

Hi, Trying to figure out how to display a default image in a custom field when the user hasn't manually selected one themselves. Here's the code I currently have that allows you to choose your own:...

View Article
Browsing all 8245 articles
Browse latest View live