Advertisement Manager - Dynamic Google DFP for WordPress - wordpress

I am to be soon developing a number of websites with dynamic ad models using Google's DFP service. Ideally I want to develop these websites using WordPress, I was wondering if there was any tips or brilliant plugins to allow me to show generic ad units and specific ad units on different categories, pages and posts in certain categories?
I need a default generic set of advertisments to appear in a few predefined ad slots for example: 2x MPU, 2x Leaderboard etc..
These need to change depending on what category or page you are on. The same ads need to show on posts that come from it's parent category, the same applies for sub-categories and pages with sub-pages.
There seems to be no solution out there! Just simple plugins to stick adsense codes into posts randomly it seems..

There is no Wordpress plugin that allows different custom HTML to appear depending on what category the user is on.
Please refer to http://codex.wordpress.org/Function_Reference/is_category or ask me to make a Wordpress plugin for you.

Best way is 'create custom module/plugins'
This solution is only useful if you are not using category description any where.
you can add you advertisement code in category description, if current category has not ADV code then check in parent category ADV code, continue until root category.
For pages you can use custom field.

Here is a WordPress plugin that may be useful for you: http://wordpress.org/plugins/ad-code-manager/

Related

How to show a widget only to customers who bought a product in WooCommerce (with Elementor)?

Here is what I am trying to do - a website with online courses using WooCommerce and Elementor. I want to have a page called "My Courses" where customers can see only the courses they've purchased.
I'm not using any LMS.
I will use the plugin Dynamic Conditions for Elementor to show or hide a widget.
I know that WooCommerce has a function to check if a user has bought a specific product.
I don't know how to make a connection between the two, though. That is my problem.
Dynamic Conditions uses Elementor's dynamic tags system to check against. How can I use the WC's function to check if the user bought the product and only if he/she did, then to show them the widget with the course page?
Thanks a lot for any answers with ideas or directions on how to solve this problem!
Using Dynamic.ooo you can benefit from "Visibility" extention (comes with Dynamic.ooo/ don't need seperate plugin installation) which allows you write your customized conditions (in PHP). I myself have not used the "Custom Condition" becuase I don't know much about PHP, but if you know the function and just need to connect them i think that'll do.

Wordpress post view format for filter grid

I am a complete newb to wordpress. I am trying to help a friend out. She asked me to help her move her wordpress instance to another hosting provider.
I have done that for the most part. My issue is the original provider implemented a not-so-obvious way of an isotope filter on some UI elements.
Specifically the object is a company. Each company has a logo, the name of the company, a short description and a contact name / email.
These companies service states / areas and the idea behind the page is to select the state and only the companies for that state are visible.
From the brief searching I have done - there seems to be an overwhelming amount of plugins to support this.
I have tried creating a simple post with a featured image and adding in the text in the excerpt.
My problem is the links. I don't want the links to go back to the post - rather I want the links to go to a custom URL.
Is there a plugin that will allow me to define a custom post type (to include categories) and then filter on it similar to Isotope type of filtering?
There are many free plugins but if you are using the Elementor page builder. I am not advertising my product but as I saw your requirement matches a plugin that I am selling in the market.
The frontend filtering feature is not yet available to the released version but will be released soon. It basically allows you to build a custom grid as you like.
Is it something similar?
https://demo.geekygreenowl.com/elementor-387/
You have to create a custom post, there should be a custom field(custom URL) as well.
Or, You may create a WordPress query. https://developer.wordpress.org/reference/classes/wp_query/
also, coding will be required for filtering

Any Wordpress plugin to search posts by category?

I am developing a website for an auto dealer. On the homepage and maybe even in the sidebar I would like to place a search function which will allow the user to search for cars according to Make (e.g. BMW) and Model (e.g. 1 series). Then a page with results will show up. Users can either search by make only or both.
Is there a plugin or code that can do this?
Each Make will be a POST category and model either under parent category (daughter) or as a tag?
Have a look at: http://wpadvancedsearch.com/. It does exactly what you want.

Wordpress run Classifieds? a good idea?

I'm building an inventory/classified for all my products onto a wordpress site. Is this a good idea?
The question i have is how to seperate them all.
I have about 50 product categories (which wont fit the menu).
I need to find a way to query and show the items for each category out as they onto an independant page.
For example. I have engines, tires, rim, hoods. I need a page to show all engines together and not the others.
Thanks it advance, I hope the question is clear
Wordpress is fine, i am working for a company, in which i used wordpress to create an auction. It had a ton of categories and products. I created a custom post to allow users to create items for the auction. Added categories which i used to filter through the products, ie: All, Arts & Entertainment, Sports, Dining, Golf, etc. I created pagination so it shows the products on multiple pages
Learn more about Custom post types here Custom Post Types
Hope this helps
-David

Wordpress: Using Custom Post Type for image list of Product

I have a Wordpress-blog with gift ideas where I write text based articles. I recently discovered Custom Post types which I believe is the solution to an feature I want to create.
What I want:
Be able to tag each custom post using the normal "Categories" and "Tags".
Create a 3x3 matrix with product images (custom posts) to be shown on top of each Category-view or Tag-view (followed by the typical article list in the category or tag).
Example:
Lets say I have a category "Gifts for mom" and tags "Pink", "Cheap"
In the category "Gifts for mom" I have 10 text articles (normal posts) discussing the difficulties of buying gifts for your mom
I create nine custom posts, each is a specific gift (e.g. A pink hairbrush). I want to place them in the Category "Gifts for mom" and tag them with "Pink".
When I view myrandomgiftblogname.com/category/gifts-for-mom I want to be able to get a view:
Gifts for mom
Product Product Product
Product Product Product
Product Product Product
Articles:
- This awesome article
- That awesome article
- Etc
I assume this is possible but don't really know where to begin. Could you point me in the right direction? Which Plugins do I need? Do I need to do any programming myself (or just plugin configuration)? Is this even possible?
The description is a bit broad, hence a bit broad answer.
Two things are needed:
1) A plugin to create the Custom Post Type.
It is considered best practice to let CPT's in Plugin territory. So you can swap designs and preserve your CPT functionality. In reality, you are asking for future problems letting this be handled by the theme.
Create your own plugin, which would contain a register_post_type and any extra configs.
Use an existent plugin, like Custom Content Type Manager.
Its Custom Fields features are quite handy as well.
Allows users to create custom content types (also known as post types) and standardized custom fields for each, including dropdowns, checkboxes, and images.
2) Learn how to use and customize WordPress Templates
http://codex.wordpress.org/Templates
Templates are the files which control how your WordPress site will be displayed on the Web. These files draw information from your WordPress MySQL database and generate the HTML code which is sent to the web browser. Through its powerful Theme system, WordPress allows you to define as few or as many Templates as you like all under one Theme. Each of these Template files can be configured for use under specific situations.
You can try the following:
Add a new Page for each category with the exact same name as the category.
In the Images menu attach to each of those pages the images you want.
In your script query for a page with a name identical to the current category, and pull all of its attachments

Resources