allilevine
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Having troubles modifying the loopHi there. Would you mind posting the code you have so far, using
query_posts
? You might be able to use a combination ofpre_get_posts
and Conditional Tags:Forum: Fixing WordPress
In reply to: Background Image Effect Scrollover?Hi! I believe the effect you’re referencing is called parallax. There are many free and premium WordPress themes available that use this effect. You can find some of them by searching for “parallax” in the theme directory: https://www.ads-software.com/themes/search/parallax/
It looks like the menu on https://www.senns.restaurant/ was built using javascript and the CSS transform property. You can add a similar menu to your WordPress site using a responsive menu plugin: https://www.ads-software.com/plugins/search.php?q=responsive+menu
Forum: Themes and Templates
In reply to: NON adsense java script code leads to image disappearIt looks like you fixed the problem. What was the solution?
Forum: Fixing WordPress
In reply to: how to get custom taxonomy list without link?This worked for me, based on https://wordpress.stackexchange.com/questions/23606/how-do-i-list-custom-taxonomy-terms-without-the-links:
<?php $terms = get_the_terms( $post->id, 'album-categories' ); if ( !is_wp_error($terms)) { $album_categories = array(); foreach ($terms as $term) { $album_categories[] = $term->name; $albums = join( "</li><li>", $album_categories ); } ?> <ul> <li><?php echo $albums; ?></li> </ul> <?php } ?>
Forum: Themes and Templates
In reply to: NON adsense java script code leads to image disappearAre you using the Newsmag theme? It has a lazy load feature for images that may be conflicting with the ad code. There’s a possible solution here:
Forum: Reviews
In reply to: [Simple Login Screen Customizer] Its okayThanks, glad you like it!
Forum: Plugins
In reply to: [Simple Login Screen Customizer] Can't add logoHey sorry for the delayed response. Did you get it working on the second site? If not, is the image uploader working otherwise? Can you insert images in posts? Do you have javascript enabled?
Forum: Fixing WordPress
In reply to: WordPress 3 Menu (wp_nav_menu) won't updateI also encountered this problem: one of my menus (in the footer) would not update or change. I deleted it and recreated it, named it something else, etc. and it still wouldn’t change.
I found a workaround of sorts by adding a second “primary” menu to my theme. If you look in Appearance > Menus, there’s a “Theme Locations” box where you can define which menu is your primary navigation. I already had a menu that was “primary” (and working fine) so I created a second “theme locations” drop-down in functions.php.
Look for “// This theme uses wp_nav_menu() in one location” in functions.php. I edited the code beneath it to read:
register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'twentyten' ), 'footer' => __( 'Footer Menu', 'twentyten' ), ) );
Then in Appearance > Menus, I set my menu to be the Footer Menu. Finally, in the theme, I replaced my menu code with:
<div class="menu"> <?php wp_nav_menu( array( 'container' => '', 'container_class' => false, 'theme_location' => 'footer' ) ); ?></div>
In other words, replace the name of your menu with the name you assigned it in functions.php (“footer”). And adding in that menu div class was important to my menu css.