Dieses Plugin ist nicht mit den jüngsten 3 Hauptversionen von WordPress getestet worden. Es wird möglicherweise nicht mehr gewartet oder unterstützt und kann Kompatibilitätsprobleme haben, wenn es mit neueren Versionen von WordPress verwendet wird.

Post and Page Specific Product Ads

Beschreibung

Post and Page Specific Product Ads

Advertise your products on your blog.

Post and Page Specific Product Ads allows you to select which products to show in a particular post, page or category.

Imagine you have a blog and a couple of products on sale on your website. You have an article which relates to one or more of your products. How do you show exactly that product on exactly that article page?

WooCommerce offers a widget that shows products but you can only filter them by featured products or on-sale products.

That’s where Post and Page Specific Product Ads comes in.

With this plugin you can specify exactly which products to show in each post, page or category. You can also select the categories from which products will be shown.

Use views and clicks tracking to gather and analize statistical data.

You can choose to show products randomly or use views tracking to determine which product should be shown next (the one with the least views). This way you can be sure no ad you assign to the article wil be shown twice in a row.

For example: you can have three [papspa] shortcodes in an article and each of them will show a different product (assuming you have at least three ads assigned to the article). If the ads are retrieved randomly there is a good chance that one ad will be shown on more than one shortcode or that one ad will be shown more times than the others. But if the ads are retrieved by checking the statistics information, each shortcode will show a different ad.

Features

  • Set which products to show in each post/page/category
  • Set categories from where products will be shown for each post/page/category
  • Show random products if no products/categories are set, or don’t show anything
  • Select a product image size
  • Show/hide product description
  • Set product description length
  • Show/hide product price
  • Show/hide a „Read More“ button
  • Set text for the „Read More“ button
  • Show/hide on posts
  • Show/hide on pages
  • Show/hide on archive (category) page
  • Show/hide on blog page
  • Show/hide on search page
  • Views and clicks tracking
  • Quick stats column in post/page/category lists
  • A very configurable shortcode
  • Widget
  • Currently works with WooCommerce
  • Translation ready
  • Lightweight

Settings

You can find the settings page by visiting „Settings -> Post and Page Specific Product Ads“

Shortcode

Use the [papspa] shortcode to show ads anywhere on your site.

The shortcode accepts the following parameters:

  • show_description (true/false)
  • show_price (true/false)
  • show_button (true/false)
  • show_on_post (true/false)
  • show_on_page (true/false)
  • show_on_blog (true/false)
  • show_on_archive (true/false)
  • show_on_search (true/false)
  • button_text (string)
  • desc_length (number of words)
  • image_size (any WP registered image size)
  • layout (horizontal/vertical)

Using these parameters on the shortcode will override the default settings.

Example:

    [papspa show_description="true" show_price="true" show_button="true" show_on_post="true" show_on_page="true" show_on_blog="true" show_on_archive="true" show_on_search="true" button_text="Click me!" desc_length="35" image_size="thumbnail" layout="horizontal"]

Support

Contact me by Grrega.com contact form if you have any questions or need support.

You can also use the live chat on my website, find this plugins‘ support forum (look right) or contact me on any social website.

Screenshots

  • Shortcode - vertical layout
  • Shortcode - horizontal layout
  • Widget in a sidebar
  • Widgets page
  • Settings page
  • Edit post screen
  • Edit page screen
  • Edit category screen
  • Posts list screen
  • Pages list screen

Installation

SERVER REQUIREMENTS

  1. PHP version 5.4 or greater (PHP 7.2 or greater is recommended)
  2. MySQL version 5.0 or greater (MySQL 5.6 or greater is recommended)

AUTOMATIC INSTALLATION

  1. Log in to your WordPress dashboard, navigate to the Plugins menu and click Add New
  2. In the search field type „Post and Page Specific Product Ads“ and click Search Plugins
  3. Install the plugin by simply clicking „Install Now“

MANUAL INSTALLATION

The manual installation method involves downloading the Post and Page Specific Product Ads plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

FAQ

How to override template files

Template files are stored at the „/post-and-page-specific-product-ads/templates“ folder.

  1. Create a subfolder „/post-and-page-specific-product-ads“ in your child themes folder.
  2. Copy the template that you want to override from the plugins „/templates“ folder to the new folder in your child theme
  3. Edit the template

Mitwirkende & Entwickler

„Post and Page Specific Product Ads“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

Änderungsprotokoll

1.0.4

  • FIX: fixed a typo
  • FIX: added an extra check to prevent papspa columns showing up on non supported post types

1.0.3

  • FIX: category ads not saving sometimes
  • FIX: widget product selection wrong on certain pages
  • FIX: completely removed the screen ID check from category list table

1.0.2

  • FIX: fixed quick stats not always showing on post and page lists due to wrong screen id

1.0.1

  • FIX: echo fix