peacefulwarri0r
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hitchcock] overlay with headlinesI’m not sure I understand the effect you’re looking for. Do you want the titles in the post previews to always be displayed on top of the images, but without the dark overlay?
Yes indeed, I would like to have the titles in the post previews, without the dark overlay and still with the hover effect. But I couldn’t figure out how to do this.
It’s impossible out of the box. But would be very nice, the users can see the headlines prompt and the images aren’t dark.
Forum: Themes and Templates
In reply to: [Hitchcock] overlay with headlinesHi,
yes, I activated this option. With the result that the images became dark and there’s no overlay effect anymore. I would like to keep the overlay effect and got the Headlines.
Bj?rn
Forum: Plugins
In reply to: [Plugin: Yoast SEO] Problem to remove og tagsMeanwhile I figured out to replace the og title, the title and the canonical. But og:description and the description I couldn’t.
function bth_title($title,$seperator,$position) { if(isset($_GET['article_id']) && $_GET['article_id'] != ""){ global $wpdb; global $wpseo_og; $bth_article = $wpdb->get_results( "SELECT * from articles where id=".$_GET['article_id'].";" ); // remove og_title remove_action( 'wpseo_opengraph', array( $wpseo_og, 'og_title' ) ); // remove canonical add_filter( 'wpseo_canonical', '__return_false' ); // add og_title and image add_action( 'wpseo_opengraph', 'my_og'); // add canonical add_action( 'wp_head', 'my_rel_canonical'); // title $product_name = preg_replace('/^\/(.*)\/(.*)?/', '${1}', $_SERVER[REQUEST_URI]); $title = ucfirst($product_name)." - ".$bth_article[0]->headline1." - PageName"; } return $title; } add_filter('wp_title','bth_title',20,3);
Forum: Themes and Templates
In reply to: [ProfitMag] Make slider image clickableHey,
is it possible to realize this in a child-theme?
Thanks
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] German language integration bugTrue. And in addition a german buyamzon button is also already available. “buyamzon-button-plain=de.png” (I guess this should be a “-” instead of “=”)
Probably to activate in “inc/amazon-product-in-a-post-translations.php”:
if($aws_partner_locale==’com’){$buyamzonbutton = “buyamzon-button.png”;} //set back to .com for US locale
if($aws_partner_locale==’de’){$buyamzonbutton = “buyamzon-button-plain=de.png”;} //set back to .de for DE locale