Code Monkey home page Code Monkey logo

awin-feeder-wordpress-plugin's Introduction

AWIN Feeder Wordpress Plugin

A Wordpress plugin originally developed in 2011 for helping with placement of affiliate products from Affiliate Window product feeds into my numerous affiliate Wordpress blogs.

I'm cleaning up the code and releasing it open source for others to use as they wish.

As can be seen the system is far from finished but it did its job at the time.

Forks, issues, bugs, etc are welcomed though I'll be doing my fair share of tidying up too - see todo below.

I strongly advise against installing this yourself yet. Although I have it working on a couple of Wordpress blogs it is highly unstable and unfinished.

Features

1. Page & Post Tags - [aw-prodgrid] & [aw-prodblock]

[aw-prodgrid]

This created a product grid wherever it was included in a page or post.

[aw-prodgrid brand="Adidas" limit="6"]

This would be replaced with a randomly selected list of 6 products with the brand name Adidas.

It had rudimentary searching ability so you could have a tag like this:

[aw-prodgrid brand="Adidas" name="black" limit="6"]

Example of the above tag output:

Adidas Watches Black

The name attribute would be checked to ensure the title of the product contained that word.

[aw-prodblock]

Given a valid ID as an attribute this would output the product with its description and pricing.

2. Widgets

Two simple widgets were included:

  • Cheapest/Dearest Products - This widget would display a count of the top/bottom products by price.
  • Random by Brand - A very basic widget used to give random products of a particular brand.

awin-feeder-wordpress-plugin's People

Contributors

odinshat avatar

Watchers

 avatar  avatar

awin-feeder-wordpress-plugin's Issues

Remove 'Fetch Images' link

Remove the link fromside menu and add feature to a fututre version if considered necessary.
Also remove dropdown option box from main AWIN feeder page.

Document Main Plugin File

The main plugin file needs extensive code documentation to help in future development and maintenance.

Fix readme.txt

Its currently a template placeholder. Replace it with the real thing so its submissable to the Wordpress plugin system

Document Widgets

Document widget code to make maintenance and future development easier. There are currently 2 widgets:

  • awinfeeder_cheapdear.php
  • awinfeeder_random.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.