• When editing a campaign, under the Feeds tab, I need to have the categories listed by every Feed URL Input Boxes, so that I can assign a category to every feeds listed in a campaign.

    For example, I have a campaign called Furniture. I have listed some feed urls which belong to bedroom, living room, and kitchen categories under the Furniture Category. Each feed url belongs to each category.

    I have added the following code to edit.php, which list the categories by every Feed URL Input Box in a campaign. Now my question to you, how can I make the following code effecting for every Feed URL Input Box in a campaign. Simply, I need to have every categories by the Feed URL in a ‘campaign, so that I would be able to assign them to categories individually.

    This is what I’ve added to the Feed Section of the edit.php.

    ‘<!– Set a category to a feed–>’
    ‘<div style=”font-size:9px;”>
    ‘<?php foreach($categories as $category): ?>’
    ‘<?php echo checkbox_tag(‘campaign_categories[]’, $category->cat_ID, in_array($category->cat_ID, $data[‘categories’]), ‘id=category_’ . $category->cat_ID) ?>’
    ‘<?php echo label_for(‘category_’ . $category->cat_ID, $category->cat_name) ?>’
    ‘<?php endforeach; ?>’
    ‘</div>’
    ‘<!– End –>’

Viewing 1 replies (of 1 total)
  • Your guess is better than mine. Sorry I can’t help and it seems the developer has vanished. Have you been able to get the thing to check the rss automatically? I have not. It might be my cron job since I have never done that before… can you give me some advise? I’m fetching like a dog right now.

Viewing 1 replies (of 1 total)

The topic ‘Customizing wp-o-matic’ is closed to new replies.