Wordpress: Different Image Rotator on every page - wordpress

The situation:
Wordpress based website for Veterinarian clinic
Image rotator on frontpage, separate header image attached to every page
The desired situation:
Image rotator with several images on every page
Currently it is possible to couple several images with a page, in the backend they are shown in the "Gallery". I would like to show these images in the rotator.
Before I engage in writing my own plugin to do this my question:
Is there a plugin available that can rotate several images on every page?

There are a few ways to do this.
Using your current image rotator, you can create templates for your new pages (page-your-slug.php) and add different images to the rotator on each template file. These are created it your theme folder. Read more here.
Second option is to use the is_page() function. Using that you can write and if statement to display the different images. if(is_page('your_page')) { images }, rinse and repeat.
3rd option is assuming that you want this to be more dynamic and changeable. Install the attachments plugin. this will allow you to upload a variety of images to each page (or post), which you can then loop through in your slider - this method is probably the best.
Hope this helps.

Related

Using wordpress stylemix template "Consulting Child" I need to add images to a catgory list

Using wordpress stylemix theme "Consulting Child" I need to add images to a catgory list. the screen shot shows two older posts with images setup by the architect whom is not available for consulting, and the new post at the top of the list without images. I cannot trace the steps of the older posts because of this editor used, called WPBakery.
WPBakery uses CSS modules called ELEMENTS. There are over 100 different types of Elements to add to your theme - like, in this case, a Details Element was used to display the image however, it's very un-intuitive as to how it is configured.
I know this question can only be answered by the few out there who've used Stylemix and WPBakery, so I hold an open mind as to how you might solve this issue.
Thank you for your time.
enter image description here

Custom Page Templates in WordPress to show Content in specific layout

I want to create a custom page template in WordPress which shows Image Slideshow and then a video below it and finally some text - till now what I am able to do is play with sidebar, footer, header.
I can either remove them or keep them in my custom page templates but what I want to do is play with the page contents.
The Admin user should be able to see these sections in the Page Editor (WYSIWYG) when they choose the Template from the drop-down, so that they can accordingly add the correct content in correct place holders
Something like the attached screen-shot is showing
Is this possible in WordPress
Yes! It's possible to implement this! you can use https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 or https://wordpress.org/plugins/siteorigin-panels/ plugin.
The first plugin allows you to create different page layout and save it. It also allows admin to choose page layout that admin has saved previously.
The second page builder plugin allows you to create template same way and allows admin to clone one page layout to another one.
Hope this will help you!

Custom classes for imags in drupal

My basic requirement is to display one picture on a page which on clicking, displays a colorbox slideshow of all the pictures in that content type.
https://www.drupal.org/node/1026112
This is the solution I got for it. To apply display:none css for the rest of the images. For that, I need different classes for the images. I'm unable to figure out how to do so.I got a few solutions such as adding a preprocess_image function but it doesn't seem to work. Can I get some help here?
We did this in past using the "Image sets" option provided with the Lightbox2 Drupal module. We had a client request to show one image and then open a slideshow on the same page of the images associated with that content in the CMS. This module say:
If you have a set of images that you would like to group together in a
lightbox, but only wish for one of these images to be visible on your page, you
can assign the "lightbox_hide_image" class to hide the additional images. For
example:
image #1
image #2
image #3
You can create a custom node template to render the images in the required format.
Hope this will help you!

How to make collection of the galleries on same page in drupal 7?

I need to have page that is collection of the galleries. Every gallery has to be represent by one image. When user click on that image whole gallery that image represents should open. And the same thing for every image. Something like on this site.
Of course there is non elegant way where for every gallery we have to make new content type, and views for each of it. But I want to make it easy for client to add new gallerias, without building views every time. Is there a module that makes collection of galleries. If someone want to help me and lead me step by step it would be appreciate.
You can do this using Node gallery module,
The Node Gallery module allows you to create multimedia galleries
where both the galleries and the gallery items are nodes. (as opposed
to gallery items being file fields, like Media Gallery)
Check the demo here

Wordpress: How to administrate Background-Image and Content Slide

I am about to build a Wordpress theme for a non-blog website. I am familiar with the basic post/page concept and I used to set a static page being the front page.
Now I want the fron-page to change *its background image* and a little part of its content every few seconds (Here is an example of what I am trying to achieve.)
I already know how to develop the javascript and HTML part of that! I would like to know how to make those changeable items (background-image as well as the small content) to be managable in the Wordpress admin area (Since that's the whole point o a cms, right :-)).
How would you do that? Is there a plugin to connect custom contents like that? Or do I have to build my own plugin? I would appreciate your thoughts :-)
The rough steps to take:
Create a custom posttype
In the supports option enable thumbnail
Create a few posts with a featured image (and other data you want)
Fetch your posts using WP_Query
Loop your posts.
Do JS magic.
questions? ask.

Resources