fusionxn1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Creating a new is_Ok i did it.
In my header i put the following:
<?php
if (defined(‘isgallery’)) {
$iamgallery = yes;
} else {
$iamgallery = no;
}
?>
and on my nav image i put:
class=”<?php if ($iamgallery == yes) { ?>current_gallery_item<?php } else
{?>last_menu<?php } ?>
so it shows the correct image (active) if $iamgallery == yes if not show it as inactive.
Last i placed:
<?php define(“isgallery”, true); ?>
in the head of the plugin! Give it a shot @
Forum: Your WordPress
In reply to: Finished my theme after around 22 hours work!Thanks!
Forum: Fixing WordPress
In reply to: Creating a new is_first post i said:
Its for my gallery im using the fgallery (not the flickr one the other one) and it doesn’t have one included and i need one to highlight my button when a user is browsing the gallery. The buttons are coded but awaiting this.
Forum: Fixing WordPress
In reply to: Creating a new is_Ok lets do detail.
I have a blog, it has the Homepage known as Home, A page known as PAGE1 and a Plugin known as Section.
I have images in green at the top as navigation one for each Home, PAGE1 and Section. I want to make a custom is_ tag or php script so that when a visitor goes to Section the image for Section changes from green to blue to show thats where they are.
Okay? ??
My skin is complete to see what I mean have a look:
https://www.fusionxn1.com/blog/
when you goto gallery the image does change so i need to create one for that!
Forum: Fixing WordPress
In reply to: Creating a new is_ok right i have buttons for
home | pages | section
when you goto section the image section changes to green to show your on there.
Forum: Fixing WordPress
In reply to: Creating a new is_..no
Ok.. like is_home()
I want to add one like is_section()
so you goto “section” and it detects it – i can then use it to change images for just that 1 page.