davemiller
Forum Replies Created
-
Forum: Plugins
In reply to: Blix menu hijacked!I tried your hack, but I think I am the hack. I’m new to WP and php, so maybe that’s why. Here’s my problem…
I am using the Blix Redux v theme. See site at https://www.sdlp.us.
When I add a child page, as you know, it is added to the horizontal navigation bar. I want to do what you have outlined above. There are major pages I want in the navigation bar and then there are minor pages I want as links in the sidebar (not the headings under SDLP Information). If I could not have the new pages added to the nav bar and simple link to the child pages, that would be great.
I noticed there is this exclusion section in the BX_functions.php file:
/**
* Function BX_excluded_pages()
* ——————————————————
* Returns the Blix default pages that are excluded
* from the navigation in the sidebar
*
*/
function BX_excluded_pages()
{
$pages = BX_get_pages();
$exclude = “”;
if ($pages) {
foreach ($pages as $page) {
$page_id = $page->ID;
$page_name = $page->post_name;
if ($page_name == “archives” || $page_name == “about” || $page_name == “about_short” || $page_name == “contact”) {
$exclude .= “, “.$page_id;
}
}
$exclude = preg_replace(“/^, (.*?)/”,”\\1″,$exclude);
}
return $exclude;
}
Being new to php, how would I make this part of the code work? Your help would be greatly appreciated. Tx.
Forum: Fixing WordPress
In reply to: Image Padding ProblemBingo! That’s it. I appreciate the help. I am extremely impressed with the speed of response in this forum. I have never had to wait longer than 30 minutes for a response. Thanks.
Forum: Themes and Templates
In reply to: single.php ErrorI wasn’t sure if everyone could see that or not. If they could I wanted it gone.
Thank you very much for you help.
Forum: Fixing WordPress
In reply to: Image Mapping Header ImageEureka! Works beautifully. Thanks!
Forum: Fixing WordPress
In reply to: Image Mapping Header Imagespencerp: Thank you very much. I struggled with where to put the map code for hours last night and think I’ve got the direction I need.
I really appreciate your help. Thanks.