|
#1
Nov 3, 2011, 04:43 PM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
Can this example be adapted to create the effect in the attached jpg?
http://forum.bytesforall.com/showthread.php?t=330
Specifically, I want to use a plugin to create an image gallery carousel in place of the %image
only on my home page. The image gallery will not appear on any other page.
The site will consist primarily of pages. If its important, the image gallery plugin that I planned to use is
http://1plugin.com/galleries/postma
I think I need to add a widget in place of % image, but I'm not really sure where to start. Your help is greatly appreciated.
Thanks!
Last edited by jms5017; Aug 27, 2014 at 12:40 PM.
|
#2
Nov 3, 2011, 07:15 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
all you need do is enter the code for a new widget area in place of the %image. Give it a shot, read the directions and try it.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3
Nov 3, 2011, 08:04 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
Also here is another gallery plugin you might want to look at that is not flash and looks more like your example.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#4
Nov 6, 2011, 04:40 PM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
Juggledad: Could you just be a bit more specific as to what you mean by "the code for a new widget area?" Does code refer to php code? Is it this code?
<?PHP bfa_widget_area('name=Menu Widget Only'); ?>
or is it the short code for the plugin? Neither seems to work. Am I supposed to be following the directions at
http://forum.bytesforall.com/showthread.php?t=330
If so, I got lost trying to determine exactly which file I needed to put this
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(X) ) : endif; ?>
code into.
It seemed like I should be adding it to the index.php file, but as you already knew, that file only has a comment in it! I guess its pretty obvious that I'm not *yet* a php programmer.....Any help is appreciated.
|
#5
Nov 6, 2011, 07:15 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
go to ATO->Style & edit HEADER AREA->Center column style and instead of putting in '%image' put in
HTML Code:
<?PHP bfa_widget_area('name=My_header_widget'); ?>
then view the front page of your site
then go to dashboard->appearances->widgets and you should see a widget area called 'My_header_widget'. You can add what ever widget you want into it.
If you want it to only show on the front page, get the plugin 'widget logic' or 'dynamic widgets' and you can use them to set when it should display
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#6
Nov 7, 2011, 10:13 AM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
The header widget is not showing up in the dashboard > appearances > widgets. I still only see widget areas in the sidebar. I cut and paste the code from your repsonse, so I know its typed correctly. Am I putting the php code in the right place? It is ATO>Style & Edit Header Area >
Configure Header Area Your instructions said to put it in Center Column style but I don't see any place else on the Style & Edit header area page that might pertain to the header styling. I considered adding to the HTML/CSS Inserts or the new header image overlay, but the instructions in each of those section specifically say "No php code."
What am I missing?
|
#7
Nov 7, 2011, 10:15 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
you are right it should have said 'ATO->Style & Edit Header Area->Configure Header Area' (I've got a cold)
Once you add it, go visit the front page (so the code will run to create the area) then visit the widget area.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#8
Nov 7, 2011, 11:24 AM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
I can't seem to get the widget to show up in the header area. I copied and pasted your code, reloaded the page several times, even signed completely out of WP reloaded the page and checked the widget area several times, no luck.
The site is jkstest.info
When I look at the page source, I see the php code, but no div.
I tried it with the %pages and without, neither worked.
What am I missing?
|
#9
Nov 7, 2011, 12:30 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
can't tell from the outside. If you want me to take a look, send me a PM with a admin ID/PW and I'll take a peek
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10
Nov 7, 2011, 01:21 PM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
I just want to be sure that you received the PM - wasn't sure that I sent it properly.
|
#11
Nov 7, 2011, 01:44 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
i'll take a look now
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#12
Nov 7, 2011, 01:49 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
the 'PHP' had to be lowercase - I learn something new every day
check it out, you have a widget area. don't forget to change your password
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#13
Nov 7, 2011, 02:03 PM
|
|
|
|
115 posts · Jul 2010
NY/NJ Metro area
|
|
Thanks!!
Would that code work to put a widget anyplace on a page? (assuming that I gave another instance a unique name?)
|
#14
Nov 7, 2011, 02:09 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
it works in some areas like the footer, but for the center area, you need to put it in index.php
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#15
Nov 16, 2011, 11:03 AM
|
|
Brilliant thread! Solved my question without even having to post it!
Thanks for the answers!
|
|