Forum Replies Created
- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
trashwire
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220@maurizio04
Thanks so much!To change the colors, I replaced the images (the png files) with ones that fit my desired color scheme. Then I added the code for those colors into the mystyle.css file. The colors for the sections aren’t controlled by hex codes alone, there are images that have the gradient at the top, so you have to match the code with the color at the bottom of those png files. Does that make any sense?
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236trashwire
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hey Daniel,
Sorry to keep asking, but it still doesn’t seem to be working. I’m sure I’m probably entering something wrong, but I can’t figure out what.
I’m talking this:
[code]
if ( function_exists( ‘has_post_thumbnail’ ) && has_post_thumbnail() )
{
$title = get_the_title();
the_post_thumbnail(array($width,$height), array(‘alt’ => $title));
}
[/code]and replacing
[code]the_post_thumbnail(array($width,$height), array(‘alt’ => $title));[/code]
with
[code]?><a” href=”<?php the_permalink(); ?>”>the_post_thumbnail(array($width,$height), array(‘alt’ => $title));</a”><?php
[/code]But it gives me an error message saying [quote]”Parse error: syntax error, unexpected ‘<‘ in /home/trashwir/public_html/wp-content/themes/cover-wp/functions.php on line 219″[/quote]
I also tried removing the ” after the first <a, but that didn’t work either.
Can you explain what I’m doing wrong?
Thanks!
[b]UPDATE[/b]
I think I figured it out. It looks like this makes it work.
[code]
?><a” href=”<?php the_permalink(); ?>”><?php the_post_thumbnail(array($width,$height), array(‘alt’ => $title));?><?php[/code]Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236trashwire
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220I had a similar question. Is there a way to make the Popular section display the most viewed posts, but to restrict that by date. For example, the three most popular posts in the past 30 days? I’ve seen plugins that do this, but I wanted to see if there was a way to do it within the theme itself.
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236trashwire
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Thanks for such a quick response!
I tried inserting that code, but it gave me this message:
Parse error: syntax error, unexpected ‘<‘ infunctions.php on line 219I copied and pasted the code from your post, so I think it is correct, but then when I click save changes, it gives me that error.
Is there something else I should try?