peterjhpark
Forum Replies Created
-
Forum: Plugins
In reply to: [Dynamic Headers] Dynamic Headers – border around default headersThat’s because your style.css for your theme probably has a default bordering around images. What you need to do is to create another img css to govern the header images. Add the below code to style.css
img.noborder {border: 0px; padding:0px; }Then in your dynamic headers plugin folder, edit custom-header.php. Add class=”noborder” to the img tag below.
echo '<img class="noborder" src="'.$dhnd_image_url_base.$load_this_media.'" alt="'.$dhnd_alt_tag.'" title="'.$dhnd_alt_tag.'" />';I simply changed the word exclude to include and it worked. 🙂
Just out of curiosity, how would you change that code to only show/include 5,7,9 on the menu? So the rest doesn’t show as I keep adding more pages.
Yes, that worked perfectly! Thank you, esmi.
My problem is that I would like to exclude some pages to be published from showing on the navigation top menu.
Forum: Fixing WordPress
In reply to: Remove the hyphen separater from title of static frontpageesmi, thank you! That magically fixed the issue! 🙂
Forum: Fixing WordPress
In reply to: Remove the hyphen separater from title of static frontpageThanks for the input but I found:
1.
<strong>tags were something I did to emphasize a portion of the code, and later edited by removing them. They were NOT part of the code of header.php2. Changing “or” to “||” on the code above did not solve the problem.
3. Doesn’t answer my specific question.
I’m starting to wonder if this is some other issue involved in static front page codes.
Forum: Fixing WordPress
In reply to: Remove the hyphen separater from title of static frontpageI understand. Well my header.php looks like below. It does seem like the frontpage setting is proper unless I’m wrong.
<?php echo ' <title>'; if ( is_home() ) { // Blog's Home echo get_bloginfo('name') . ' » '; bloginfo('description'); } elseif ( is_single() or is_page() ) { // Single blog post or page wp_title(''); echo ' - ' . get_bloginfo('name'); } elseif ( is_category() ) { // Archive: Category echo get_bloginfo('name') . ' » '; single_cat_title(); } elseif ( is_day() ) { // Archive: By day echo get_bloginfo('name') . ' » ' . get_the_time('d') . '. ' . get_the_time('F') . ' ' . get_the_time('Y'); } elseif ( is_month() ) { // Archive: By month echo get_bloginfo('name') . ' » ' . get_the_time('F') . ' ' . get_the_time('Y'); } elseif ( is_year() ) { // Archive: By year echo get_bloginfo('name') . ' » ' . get_the_time('Y'); } elseif ( is_search() ) { // Search echo get_bloginfo('name') . ' » ‹' . wp_specialchars($s, 1) . '›'; } elseif ( is_404() ) { // 404 echo get_bloginfo('name') . ' » 404 - ERROR'; } else { // Everything else. Fallback bloginfo('name'); wp_title(); } echo '</title>'; ?>Forum: Fixing WordPress
In reply to: Remove the hyphen separater from title of static frontpageAnyone?