Dave P.
Forum Replies Created
-
Forum: Plugins
In reply to: [Redirection] Couple issues with Redirection plugin@galbaras – It was not changed recently, no.
In addition, caching plugins have been turned off, and I’ve also get the same issues in Incognito mode (no existing cache/cookies). It’s worth noting that clicking “edit” for example, just adds a # to the URL. Here’s a list of plugins that are currently activated:
- Akismet Anti-Spam
- All In One SEO Pack
- Disqus Comment System
- Duplicate Post
- Edit Author Slug
- Envato Market
- Envato WordPress Toolkit
- iThemes Security
- Jetpack by WordPress.com
- Redirection
- Stag Custom Sidebars
- Stag Envato Updater
- StagTools
I tried to do this (on a local test site) but it was still showing the thumbnail when it was 125×80. Just to confirm, my functions.php has:
/* Enable featured image */ add_theme_support( 'post-thumbnails' ); if ( function_exists( 'add_image_size' ) ) { add_image_size( 'big-thumb', 650, 300, true ); }And I’m calling the post thumbnail this way:
<?php if ( has_post_thumbnail() ) { the_post_thumbnail( 'big-thumb' ); } ?>My problem is that we have a bunch of old posts with thumbnails that are 120×80 that we want to ignore. So we were using the if function before so it only displays the image if it’s over 649px (see first post). Is there any way to do something similar like this while using Photon?
I switched it over to Twenty Twelve and they do appear. I must have not uploaded the file before or something, sorry about that.
So going back to the original issue, as mentioned that solution thread is a bit over my head. If I only want a featured image to show up that is over 649px wide, is there a way I can do that while still using Photon?
Thanks for the that, the solution thread is a bit over my head. One problem I see that is that I changed my code to the following on index.php:
<?php if ( has_post_thumbnail() ) { the_post_thumbnail(); } ?>And it still would not show up when I activate Photon…With no references to wp_get_attachment_image_src, wouldn’t that mean something else is causing a problem?
Forum: Fixing WordPress
In reply to: Remove title= attribute from the_post_thumbnailSuhato – thanks for the tips, still a bit over my head though. I’d still like to know where the actual code is that outputs the HTML that way I can copy it in your above code in the $html variable…and then modify to fit my needs. Hope that makes sense?
Thanks mitco, just what I needed! The full code I used for anybody else looking for this:
<? if (function_exists('related_posts')) { related_posts(); } else { echo "No related posts"; } ?>Forum: Fixing WordPress
In reply to: get_bloginfo(‘home’) is outputting current pageNevermind, forgot to put echo. Example for those with sample issue:
<?php echo get_option('home'); ?>Forum: Fixing WordPress
In reply to: Edit post not loading anything 2.9.2I had to do a clean install of all the WP files and it worked again. Not sure what happened.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Gallery title overtop of Thumbnail in albumviewYou’ll need to either shorten the title or change the height on ngg-album-compact class in nggallery.css
Forum: Fixing WordPress
In reply to: Can’t get rid of this parse error locallyI know but it doesn’t tell me anything besides parse error on line 45 on single.php (or index.php if I’m on the homepage).
I’ve been able to get the page to load by removing some if/then statements for custom fields as well as one I have that shows some code on the page if a cookie is set.
These both work on the web, but not locally….I’m wondering if maybe there is something with the way the web server is configured that’s not letting it work.
I can post the specific code I’m removing to make it work if that helps?
Just ran the debug for you, hope this helps (I changed the paths):
REQUEST: /go/test
URL TRIGGER: go
STRPOS: yes
GOCODE KEY: testWarning: Cannot modify header information – headers already sent by (output started at path/to/site/wp-content/plugins/gocodes_servertest/gocodes_servertest.php:52) in path/to/site/wp-includes/pluggable.php on line 850
PHP version 4.4.8
Wordpress version 2.7.1Ahh, if it helps I’m on a Media Temple Grid server. Let me know if you need me to post any config stuff or anything that may help.
Forum: Themes and Templates
In reply to: writing articles: creating anchor with own classJust wanted to post that I’m looking for the same thing. I’d like to add a class to the dropdown list when created a link. Currently there is only the following:
- aligncenter
- alignleft
- alignright
- wp-caption
- ap-caption-dd
Anybody have any ideas?