nicktomkinson
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Zerif Lite] Latest news section – blog post alignmentI’ve tried a few things in the CSS but still can’t get the posts centrally aligned, has anyone got any ideas?
Forum: Themes and Templates
In reply to: [Zerif Lite] Latest news section – blog post alignmentThis line just disables the Jetpack Open Graph tags, the Yoast tags are still in the page source.
Sorted. Thanks very much.
@jools73 – where did you put that line?
I have just commented out the following section from jetpack.php and it seems to work, there are now no Jetpack OpenGraph tags in my page source:
/* if ( in_array( 'publicize', Jetpack::get_active_modules() ) || in_array( 'sharedaddy', Jetpack::get_active_modules() ) ) add_filter( 'jetpack_enable_opengraph', '__return_true', 0 ); $active_plugins = get_option( 'active_plugins', array() ); if ( in_array( 'facebook/facebook.php', $active_plugins ) ) add_filter( 'jetpack_enable_opengraph', '__return_false', 99 ); if ( apply_filters( 'jetpack_enable_opengraph', false ) ) require_once dirname( __FILE__ ) . '/functions.opengraph.php'; */I use Yoast and it sounds like this is the workaround that I need.
I have tried adding the
add_filter( 'jetpack_enable_opengraph', '__return_false', 99 );line into my Theme Functions (functions.php) but the Jetpack OpenGraph tags are still in the page source.Does this line need to be in a specific place?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Use Caption as post titleI don’t know sorry, I use a different Instagram plugin now.
Ok, I can see that the Invictus theme adds some Open Graph Meta tags in the Header.php
I can also see in my page source where the Jetpack Open Graph Meta tags are being written in further down.
What I don’t understand is why this would cause the error?
Hi Jeremy
The only othe plugin that I have installed on my site is Instagrate Pro. I cannot deactivate this plugin as it automatically creates posts from Instagram images, a key feature that I need for my site.
Nick
@jeremy – do you have an update on when a fix may be available please?
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Use Caption as post titleCool
Forum: Plugins
In reply to: [Instagrab] Cannot get Instagrab to work!Possibly. Both domains were hosted by one.com
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Linking to Instagram Photo?Me to!
Forum: Plugins
In reply to: [WP-Instaroll] [Plugin: WP-Instaroll] Use Caption as post titleI have recently made these exact changes in my installation of the Instaroll plugin.
On line 382 of \instagram\instagram.php simply change:
'post_title' => $title_placeholder,to
'post_title' => $insta_caption,On line 380 of \instagram\instagram.php simply change:
'post_content' => $insta_caption,to
'post_content' => '',I found that when using $insta_caption as the post title a
<br />was being appended to the end. To resolve this you must remove the<br />from line 100 in \instagram\ajax_panel.phpi.e. Change:
print('<td class="insta_description">'.$element->caption->text.'<br /> </td>');to
print('<td class="insta_description">'.$element->caption->text.'</td>');@jeremy Thanks! Looking forward to resolving this issue.