Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old September 1st, 2014, 12:41 PM
erceemedia erceemedia is offline
Join Date: Mar 2014
Posts: 10
Default Insert related post into a WP post with keywords


I would like to integrate related products in wp-post as described and solved in this post:

I've succeeded to integrate this in my Metro themen with the Genesis framework with a hook in the functions.php.

The php in the Genesisi functions.php :

// Datafeedr related posts

function aanbiedingen() {

$keywords = get_post_meta(get_the_ID(), 'keywords', true);
if ($keywords != '') {
echo datafeedr_tag('ForArticles?word='.$keywords);

add_action( 'genesis_before_comments', 'aanbiedingen' );

The related products are shown based on the keywords in the customfield of the post. So that works fine.

Only the formatting is not as usual with the related products in a 3 column. They are visible as 3 products with big pictures and text. It seems a problem with the CSS. Any idea how to fix this?

In the factory ive made a new view with a 3 column template

You can see it at this url and scroll down to the bottom of the page just at Drie actuele aanbiedingen

From the Netherlands
Ruud (new here and my thirst question, hope everything went well and is clear)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying Contextually Related Products in a Blog Post bradleyhebdon Questions 3 May 1st, 2014 06:18 PM
Related Products Shortcode on a Post? lesljr Questions 8 January 31st, 2013 05:17 PM
Insert product image into Drip Feed Post ubdirect Problems 3 April 27th, 2011 07:50 AM

All times are GMT -5. The time now is 12:54 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.