naeemm
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to avoid clicking of main menu items?mmm…think the theme i am using is using something different or something…no idea what the hell is going on ??
Sure ill figure something out soon…
This is the coding for the menu:
<div id="sf-menu" class="jqueryslidemenu"> <div class="sidebar_divider"></div> <?php $primary = ''; $primary = wp_nav_menu( array( 'container' => 'ul', 'theme_location' => 'primary-menu', 'fallback_cb' => '', 'menu_class' => 'sf-menu', 'echo' => false, 'link_before' => '<strong>', 'link_after' => '</strong><span> </span>' ) ); $primary = preg_replace('/(<a[^>]+>)([^\/]+)\/([^<]+)<\/strong><span> <\/span>(<\/a>)/','$1$2</strong><span>$3 </span>$4', $primary); if($primary <> "") { echo($primary); } else { ?> <ul id="menu-navigation" class="sf-menu"> <li><a href="<?php bloginfo("home"); ?>" title="<?php echo wp_specialchars( get_bloginfo('name'), 1 ) ?>" rel="home"><strong>Home </strong><span> homepage </span></a></li> <?php foreach ( (get_pages('sort_column=menu_order') ) as $page ) { if ( $page->post_parent == '0' ) { ?> <li> <a href="<?php echo get_page_link($page->ID); ?>"><strong><?php echo $page->post_title; ?> </strong><span> <?php echo get_post_meta($page->ID, "subtitle", true); ?> </span></a> <?php $child_pages = get_pages('child_of='.$page->ID); if (get_page_children($page->ID, $child_pages) ) { ?> <ul><?php wp_list_pages('title_li=&child_of=' . $page->ID ); ?></ul> <?php } ?>
Forum: Fixing WordPress
In reply to: How to avoid clicking of main menu items?Hi there
Where does that piece of code go?
I have a custom menu, and when a user hovers over certain menu items, there is a list of sub menus. I want to ensure that they can click on menu items with no sub menus but force them to click on a sub menu item where present.
Will the code you provided do that?
To see what I mean -> https://fastshutter.co.za/Thank you
Forum: Themes and Templates
In reply to: Blog Problems and LightboxDo the following:
1. Go to Admin panel in wordpress
2. Select Homepage Slider
3. Click Add New
4. Enter a Title if you want
5. Click on upload/insert
6. Select File to upload
7. Once uploaded, you can ignore all the information about resizing and alignment etc, only look at Link URL. Click “File URL” and then copy the URL in the box.
8. Close this pop up menu to upload and paste the URL in the post section.
9. Click publish and that’s all.You should then see your image show up on the homescreen. Please read the documentation for this theme here: https://ngeniomedia.com/blog/wp-content/themes/Photorific/documentation/#bgimages
What I explained now is the very basic of the theme and all other baisc functions can be found in that documentation.
Cheers
https://fastshutter.co.za/Forum: Themes and Templates
In reply to: Blog Problems and LightboxBlog is sorted! Contacted PrettyPhoto developer to assist with issues on LightBox