delphiniu42
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Social Blogroll] Title and date of latest post does not displayThanks for your reply.
The tag is in the footer. It is not in the header, but I get an error when add it – and I believe it is included somehow via the functions.php file
So I’m not sure if this is the problem or not (other plugins are working ok) – and if it is, I may not possess the php skillset to fix it.
If you don’t mind, I’d appreciate you looking at the few lines of code below to see if you think the wp_head code really is the issue.
When I added it to the header, it gave me the following error:
Fatal error: Call to undefined function check_header() in /home/clams/public_html/blog/wp-content/themes/clams/functions.php on line 90
Here is line 90 – 109
function kubrick_head() { $head = "<style type='text/css'>\n<!--"; $output = ''; check_header(); if ( kubrick_header_image() ) { $url = kubrick_header_image_url() ; $output .= "#header { background: url('$url') no-repeat bottom center; }\n"; } if ( false !== ( $color = kubrick_header_color() ) ) { $output .= "#headerimg h1 a, #headerimg h1 a:visited, #headerimg .description { color: $color; }\n"; } if ( false !== ( $display = kubrick_header_display() ) ) { $output .= "#headerimg { display: $display }\n"; } $foot = "--></style>\n"; if ( '' != $output ) echo $head . $output . $foot; } add_action('wp_head', 'kubrick_head');
Forum: Plugins
In reply to: [Plugin: WP Social Blogroll] Title and date of latest post does not displayI’m having the same problem at https://silenceoftheclams.com
I’ve installed on other sites with no problem, so not sure why it isn’t working on this one. Any help would be appreciated.
I’m also getting this message on the setup page:
JavaScript-file and content-directory are writable. This is no longer necessary. You should make the content-directory read-only (chmod 755) now for security-reasons.
This plugin requires only JavaScript-file itself to be writable.
However, the content directory IS set at 755.
Help!