Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter SB

    (@indradhonu)

    Also, the share button does not share the post/article/page properly. Surprisingly, it comes with the “Share 1 Share0 Share)”i.e. share counts after the title of the page/article.
    Please help!
    I’m hereby attaching one screenshot, as I have not shared it publicly yet on my social networks.
    Screenshot

    Thread Starter SB

    (@indradhonu)

    UPDATE:-
    Oh, it was a mistake from my end. I have edited that correctly as follows:-
    From:-

    ‘&cat=’.$instance[“recent_cat_id”].’

    To:-

    ‘&cat=’.$instance[“recent_cat_id”].’&cat=-60′.

    And voila! It works perfectly! I also able to deselect any number of categories by adding more &cat=-...
    Thanks a lot Alx for the valuable link and feedback.
    But, it will be more appreciated if that can be incorporated directly in the selection field from the Dashboard rather than editing the code everytime to deselect a category

    Thread Starter SB

    (@indradhonu)

    Where can I get the category id?
    I have checked from the db tables for terms_id and put the required category number as mentioned there.

    I have edited the code as follows:-
    From
    &cat='.$instance["recent_cat_id"].'
    To
    &cat='.$instance["cat=-60"].'
    But, no change happened.
    Please help!

    SB

    (@indradhonu)

    Search the Social log in plugin in the www.ads-software.com database, you may find one.
    FYI, I’m using the Loginradius plugin. Also, you may try the “Oneall social log in” plugin.

    SB

    (@indradhonu)

    Hi lixunhuan,
    I don’t know how the answer has solved your query, hence opening the thread again and giving some inputs.

    wp-content/themes/hueman/functions/widgets/alx-tabs.php

    Then find line 85:
    <ul id=”tab-recent” class=”alx-tab group <?php if($instance[‘recent_thumbs’]) { echo ‘thumbs-enabled’; } ?>”>

    Change:
    { echo ‘thumbs-enabled’; } -to- { echo ‘thumbs-disable’; }

    The above edits will disable all the thumbnails of the Alx tabs(whether you have attached a featured image or not). But, that can also be obtained simply by finding the Appearance>Widgets>Alx Tabs and disable the thumbnails there by unchecking the box “show thumbnails” . No need to edit any files.

    But, I think you want to retain the thumbnails where you have added featured images and do not want to show empty thumbs when there is no featured images, right?
    For that, you have to edit :-
    wp-content/themes/hueman/functions/widgets/alx-tabs.php
    Go to line 95:-
    <img src="<?php echo get_template_directory_uri(); ?>/img/thumb-small.png" alt="<?php the_title(); ?>" />. Delete the line completely.
    This will get you rid off the empty thumbs for non-attached featured images posts.
    To disable the same empty thumbs from ‘Popular posts’ tab, you have delete the same line on Line 145.
    I have done the same on my site.
    Cheers!

    Thread Starter SB

    (@indradhonu)

    Hi Alx,
    I can’t send you the .po file as I have not found any attachment field there in the mentioned contact page.

    SB

    (@indradhonu)

    Slideshow will not work on the static page as the static page does not contain the posts (which are needed to create the slides). To enable the slideshow on the static page you have edit the theme files(in a child theme).
    Also, if you want to enable slider for homepage, then that will appear for all other single pages(which may not be looking good).
    Alternatively, you can add “Alx post” widget in any sidebar and do necessary setting to get random posts coming there(though not slideshow, but some sort of it).

    Thread Starter SB

    (@indradhonu)

    EDIT:-
    I have been able to incorporate the same someway. Anyway, I can’t create the “Category” pages; but it suffices the other needs i.e. description for each category(which is inbuilt), the respective post slider, and then the posts.
    I have edited the archive.php as per my custom needs.

    Thanks a lot Alx for your great tip–

    to edit archive.php and limit the edits to if( is_category() )

    Again, thanks for your great & awesome theme.

    Thread Starter SB

    (@indradhonu)

    First of all, thanks a lot for the awesome theme. I have edited the archive,php file in the child theme as you have said and the featured slider is also coming at the top of the each category. But, the featured posts are from all categories. I want to get featured posts slider from the respective category only at the respective category page; i.e. the category, say “Music”, shoul contain featured posts slider comprising posts from “Music” category only.
    How to get that? Please help me.
    I’m hereby attaching the pastebin link for the modified archive.php file.

    Thread Starter SB

    (@indradhonu)

    Indradhonu, thanks for response,
    But due to the way it is displayed in this thread, I have found it impossible to copy and correctly paste the code of your amended header.php and css.files. I think this is because you have not placed, as recommended, the code in between ‘backticks’.
    Regards
    John

    Dear John,
    Please find this pastebin link for the modified header.php file.
    Also, find the pastebin link for the modified style.css

    Hope, this will fulfil your necessity.

    Thread Starter SB

    (@indradhonu)

    In referemce to the query of friend, I’m reopening the thread here.
    For everyone’s reference I’m posting here the modified header.php file of my website.
    BTW, I’m using version 2.0.8 of the Hueman theme(downloaded from the link given in my earlier post).
    Modified header.php file:-

    <!DOCTYPE html> <html class="no-js" <?php language_attributes(); ?>>
    <head>	<meta charset="<?php bloginfo('charset'); ?>">	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<title><?php wp_title(''); ?></title>
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
    	<?php wp_head(); ?></head>
    <body <?php body_class(); ?>>
    <div id="wrapper">
    	<header id="header">
    		<?php if (has_nav_menu('topbar')): ?>			<nav class="nav-container group" id="nav-topbar">				<div class="nav-toggle"><i class="fa fa-bars"></i></div>				<div class="nav-text"><!-- put your mobile menu text here --></div>				<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>				<div class="container">					<div class="container-inner">								<div class="toggle-search"><i class="fa fa-search"></i></div>						<div class="search-expand">							<div class="search-expand-inner">								<?php get_search_form(); ?>							</div>						</div>					</div><!--/.container-inner-->				</div><!--/.container-->					</nav><!--/#nav-topbar-->		<?php endif; ?>
    		<div class="container group">			<div class="container-inner">						     <?php if ( ot_get_option('header-image') == '' ): ?>				    <div align="center">					<?php if ( function_exists( 'show_simpleresponsiveslider' ) ) show_simpleresponsiveslider(); ?>				    </div>				<?php endif; ?>				<?php if ( ot_get_option('header-image') ): ?>					<a href="<?php echo home_url('/'); ?>" rel="home">						<img class="site-image" src="<?php echo ot_get_option('header-image'); ?>" alt="<?php get_bloginfo('name'); ?>">					</a>				<?php endif; ?>
    				<?php if (has_nav_menu('header')): ?>					<nav class="nav-container group" id="nav-header">						<div class="nav-toggle"><i class="fa fa-bars"></i></div>						<div class="nav-text"><!-- put your mobile menu text here --></div>						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'header','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>					</nav><!--/#nav-header-->				<?php endif; ?>						</div><!--/.container-inner-->		</div><!--/.container-->		</header><!--/#header-->	<div class="container" id="page">		<div class="container-inner">						<div class="main">				<div class="main-inner group">

    Also, I have modified style.csss file for better working of slider, otherwise it may show some gaps below the sliding images. The modified style.css is below:-

    /*
    Theme Name: Hueman Child
    Theme URI: https://alxmedia.se/themes/hueman/
    Version: 2.0.8
    Description: <a href="https://www.indradhonu.com">Hueman Child</a> is a responsive 100% high resolution theme customised specfically for <a href="https://www.indradhonu.com">Indradhonu Blogzine</a>. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited topbar, header, footer and accent colors, unlimited widget areas, 0-2 sidebars to the left or right that can be uniquely specified for each page or post, 300px / 220px fixed width sidebars, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured story or slider, 10 post formats, good SEO, 3 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features. This Hueman Child has an optional customisable header slider(based on simple responsive slider) for sliding header images.
    Author: Indradhonu
    Author URI: https://www.indradhonu.com
    Tags: light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, fluid-layout, fixed-layout, custom-colors, custom-menu, custom-header-slider, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
    Template: hueman	
    
    */
    @import url("../hueman/style.css");
    /* ------------------------------------------------------------------------- *
     *  Theme customization starts here/* ------------------------------------------------------------------------- */
    /*! https://responsiveslides.com v1.54 by @viljamis */
    
    .rslides {
      position: relative;
      list-style: none;
      overflow: hidden;
      width: 100%;
      padding: 0;
      margin: 0;
      }
    
    .rslides li {
      -webkit-backface-visibility: hidden;
      position: absolute;
      display: none;
      width: 100%;
      left: 0;
      top: 0;
      }
    
    .rslides li:first-child {
      position: relative;
      display: block;
      float: left;
      }
    
    .rslides img {
      display: block;
      height: auto;
      float: left;
      width: 100%;
      border: 0;
      }
    .rslides_container {
      margin-bottom: 0px;
      position: relative;
      float: left;
      width: 100%;
      }
    
    .rslides_nav {
      z-index: 3;
      position: absolute;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
      top: 50%;
      left: 0;
      opacity: 0.7;
      text-indent: -9999px;
      overflow: hidden;
      text-decoration: none;
      height: 61px;
      width: 38px;
      background: transparent url("themes/themes.gif") no-repeat left top;
      margin-top: -55px;
      }
    
    .rslides_nav:active {
      opacity: 1.0;
      }
    
    .rslides_nav.next {
      left: auto;
      background-position: right top;
      right: 0;
      }
    
    .rslides_nav:focus {
      outline: none;
      }
    
    .rslides_tabs {
      margin-top: 10px;
      text-align: center;
      }
    
    .rslides_tabs li {
      display: inline;
      float: none;
      _float: left;
      *float: left;
      margin-right: 5px;
      }
    
    .rslides_tabs a{
      text-indent: -9999px;
      overflow: hidden;
      -webkit-border-radius: 15px;
      -moz-border-radius: 15px;
      border-radius: 15px;
      background: #ccc;
      background: rgba(0,0,0, .2);
      display: inline-block;
      _display: block;
      *display: block;
      -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      width: 9px;
      height: 9px;
      }
    
    .rslides_here a {
      background: #222;
      background: rgba(0,0,0, .8);
      }
    .caption {
      position: absolute;
      display: block;
      bottom: -20px;
      left: 0;
      right: 0;
      padding: 15px;
      text-align: center;
      background: #000;
      background: rgba(0,0,0, .8);
      color: #fff;
    }
    Thread Starter SB

    (@indradhonu)

    In referemce to the query of friend, I’m reopening the thread here.
    For everyone’s reference I’m posting here the modified header.php file of my website.
    BTW, I’m using version 2.0.8 of the Hueman theme(downloaded from the link given in my earlier post).
    Modified header.php file:-

    <!DOCTYPE html> <html class="no-js" <?php language_attributes(); ?>>
    <head>	<meta charset="<?php bloginfo('charset'); ?>">	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    	<title><?php wp_title(''); ?></title>
    	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
    	<?php wp_head(); ?></head>
    <body <?php body_class(); ?>>
    <div id="wrapper">
    	<header id="header">
    		<?php if (has_nav_menu('topbar')): ?>			<nav class="nav-container group" id="nav-topbar">				<div class="nav-toggle"><i class="fa fa-bars"></i></div>				<div class="nav-text"><!-- put your mobile menu text here --></div>				<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'topbar','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>				<div class="container">					<div class="container-inner">								<div class="toggle-search"><i class="fa fa-search"></i></div>						<div class="search-expand">							<div class="search-expand-inner">								<?php get_search_form(); ?>							</div>						</div>					</div><!--/.container-inner-->				</div><!--/.container-->					</nav><!--/#nav-topbar-->		<?php endif; ?>
    		<div class="container group">			<div class="container-inner">						     <?php if ( ot_get_option('header-image') == '' ): ?>				    <div align="center">					<?php if ( function_exists( 'show_simpleresponsiveslider' ) ) show_simpleresponsiveslider(); ?>				    </div>				<?php endif; ?>				<?php if ( ot_get_option('header-image') ): ?>					<a href="<?php echo home_url('/'); ?>" rel="home">						<img class="site-image" src="<?php echo ot_get_option('header-image'); ?>" alt="<?php get_bloginfo('name'); ?>">					</a>				<?php endif; ?>
    				<?php if (has_nav_menu('header')): ?>					<nav class="nav-container group" id="nav-header">						<div class="nav-toggle"><i class="fa fa-bars"></i></div>						<div class="nav-text"><!-- put your mobile menu text here --></div>						<div class="nav-wrap container"><?php wp_nav_menu(array('theme_location'=>'header','menu_class'=>'nav container-inner group','container'=>'','menu_id' => '','fallback_cb'=> false)); ?></div>					</nav><!--/#nav-header-->				<?php endif; ?>						</div><!--/.container-inner-->		</div><!--/.container-->		</header><!--/#header-->	<div class="container" id="page">		<div class="container-inner">						<div class="main">				<div class="main-inner group">

    Also, I have modified style.csss file for better working of slider, otherwise it may show some gaps below the sliding images. The modified style.css is below:-

    /*
    Theme Name: Hueman Child
    Theme URI: https://alxmedia.se/themes/hueman/
    Version: 2.0.8
    Description: <a href="https://www.indradhonu.com">Hueman Child</a> is a responsive 100% high resolution theme customised specfically for <a href="https://www.indradhonu.com">Indradhonu Blogzine</a>. Unique toggle sidebars give a great browsing and reading experience on both tablet and mobile. The feature list is long: Unlimited topbar, header, footer and accent colors, unlimited widget areas, 0-2 sidebars to the left or right that can be uniquely specified for each page or post, 300px / 220px fixed width sidebars, 0-4 footer widget columns, almost zero layout images, related posts and post nav, featured story or slider, 10 post formats, good SEO, 3 flexible custom widgets, localisation support, social links, logo upload and many more useful admin panel features. This Hueman Child has an optional customisable header slider(based on simple responsive slider) for sliding header images.
    Author: Indradhonu
    Author URI: https://www.indradhonu.com
    Tags: light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, fluid-layout, fixed-layout, custom-colors, custom-menu, custom-header-slider, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, threaded-comments, translation-ready
    Template: hueman	
    
    */
    @import url("../hueman/style.css");
    /* ------------------------------------------------------------------------- *
     *  Theme customization starts here/* ------------------------------------------------------------------------- */
    /*! https://responsiveslides.com v1.54 by @viljamis */
    
    .rslides {
      position: relative;
      list-style: none;
      overflow: hidden;
      width: 100%;
      padding: 0;
      margin: 0;
      }
    
    .rslides li {
      -webkit-backface-visibility: hidden;
      position: absolute;
      display: none;
      width: 100%;
      left: 0;
      top: 0;
      }
    
    .rslides li:first-child {
      position: relative;
      display: block;
      float: left;
      }
    
    .rslides img {
      display: block;
      height: auto;
      float: left;
      width: 100%;
      border: 0;
      }
    .rslides_container {
      margin-bottom: 0px;
      position: relative;
      float: left;
      width: 100%;
      }
    
    .rslides_nav {
      z-index: 3;
      position: absolute;
      -webkit-tap-highlight-color: rgba(0,0,0,0);
      top: 50%;
      left: 0;
      opacity: 0.7;
      text-indent: -9999px;
      overflow: hidden;
      text-decoration: none;
      height: 61px;
      width: 38px;
      background: transparent url("themes/themes.gif") no-repeat left top;
      margin-top: -55px;
      }
    
    .rslides_nav:active {
      opacity: 1.0;
      }
    
    .rslides_nav.next {
      left: auto;
      background-position: right top;
      right: 0;
      }
    
    .rslides_nav:focus {
      outline: none;
      }
    
    .rslides_tabs {
      margin-top: 10px;
      text-align: center;
      }
    
    .rslides_tabs li {
      display: inline;
      float: none;
      _float: left;
      *float: left;
      margin-right: 5px;
      }
    
    .rslides_tabs a{
      text-indent: -9999px;
      overflow: hidden;
      -webkit-border-radius: 15px;
      -moz-border-radius: 15px;
      border-radius: 15px;
      background: #ccc;
      background: rgba(0,0,0, .2);
      display: inline-block;
      _display: block;
      *display: block;
      -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
      width: 9px;
      height: 9px;
      }
    
    .rslides_here a {
      background: #222;
      background: rgba(0,0,0, .8);
      }
    .caption {
      position: absolute;
      display: block;
      bottom: -20px;
      left: 0;
      right: 0;
      padding: 15px;
      text-align: center;
      background: #000;
      background: rgba(0,0,0, .8);
      color: #fff;
    }
    Thread Starter SB

    (@indradhonu)

    I’ve done it wit the “Simple responsive slider”. I’ve alter the header.php file in the child theme to get the slider inserted there. thats all.
    As there is no more purpose on getting help on the issue, I’m marking it as resolved.

    Thread Starter SB

    (@indradhonu)

    Thanks for all the replies. My confusions regarding the cloudflare is somewhat clear right now.
    So, the purpose of the topic is fulfilled. It may be considered as resolved.

    @rev. Voodoo:- My feedback:-I had installed cloudflare for my WP site. But, not found so much improvement in page loading speed, rather it seems somewhat decrease in speed, hence decided to deactivate the same.(I had activated cloudflare through my hosting provider). This may be the case specifically for my location India as cloudflare has no datacenter here. This my personal opinion.

    Thread Starter SB

    (@indradhonu)

    Gr8 clarification,..Rev. Voodoo.
    I will surely give it a try andwill update my feedback.
    Thanx a lot for your kind help.

Viewing 15 replies - 1 through 15 (of 21 total)