uuaide
Forum Replies Created
Viewing 10 replies - 1 through 10 (of 10 total)
-
Forum: Requests and Feedback
In reply to: I've been blockedI used this account to help others solve problems. Now, I became a theme developer, I want to use a different name slug, so I signed up another account. I would not use these accounts to promote my site, and I will not register another account again. Thank you.
Forum: Fixing WordPress
In reply to: Add code to last item in Menu (List based on array)You can use items_wrap, like this
<?php wp_nav_menu( array( 'container' => 'div', 'container_class' => 'main-nav', 'fallback_cb' => 'responsive_fallback_menu', 'theme_location' => 'header-menu', 'items_wrap'=> '<ul id="%1$s" class="%2$s">%3$s <li><div id="xxxx">nazwa firmy klienta</div></li></ul>' ) ); ?>
Forum: Fixing WordPress
In reply to: New posts not showing on home pageMake sure that if your first post is set to sticky.
Forum: Themes and Templates
In reply to: Display Page Excerpt Before WordPress Loop$temp = $wp_query; $wp_query = NULL; $page_id = 95; // substitute to your page id $my_page = get_page($page_id); echo "<p>$my_page->post_excerpt</p>"; echo '<a href="'.get_permalink( $page_id ).'">read more</a>'; wp_reset_query(); $wp_query = NULL; $wp_query = $temp ;
Forum: Themes and Templates
In reply to: How to add a function to functions.php?Try this
add_action('wp_enqueue_scripts', 'my_mh_superfish'); function my_mh_superfish() { if(!is_admin()) wp_enqueue_script('superfish', get_template_directory_uri(). '/js/superfish.js', array('jquery'), '1.4.8', TRUE); if(!is_admin()) wp_enqueue_script('superfish-args', get_template_directory_uri().'/js/superfish_args.js', array('jquery'), '1.4.8', TRUE); }
Forum: Fixing WordPress
In reply to: How to put a "Buy Now" button in blogYou can use wordpress shortcode
Forum: Themes and Templates
In reply to: [Theme: Presswork] Help with menu background hover imageTry this
#nav .splat1 a:hover { background:url('https://postpurpose.com/user/pictures/smallsplat.png') no-repeat 50% 50%; }
Forum: Themes and Templates
In reply to: How to add a function to functions.php?Because your function mh_superfish already exists, it cannot redeclare the function mh_superfish, you should change it’s name , for example
add_action('wp_enqueue_scripts', 'my_mh_superfish'); function my_mh_superfish() { if(!is_admin()) wp_enqueue_script('superfish', template_url( 'js/superfish.js', __FILE__ ), array('jquery'), '1.4.8', TRUE); if(!is_admin()) wp_enqueue_script('superfish-args', template_url( 'js/superfish_args.js', __FILE__ ), array('jquery'), '1.4.8', TRUE); }
Forum: Fixing WordPress
In reply to: Upgraded to WordPress 3.5 problemYes, I got the same problem, here is the solution to fix this issue
https://www.hoosoft.com/blog/fix-jquery-1-8-3-error-typeerror-e-is-undefined-in-wordpress-3-5/
Viewing 10 replies - 1 through 10 (of 10 total)