cuthza
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Hello Bar covering menuThanks, but is there a way to make it fluid? Eg. push down when it’s needed to, but when the top bar goes away, it slides back up again?
Forum: Themes and Templates
In reply to: [Hueman] Hello Bar covering menuI’m using the sticky menu, but the Hello Bar still covers the sticky menu. I would like the sticky menu to appear below Hello Bar if possible.
So it worked for me once my webhost temporarily disabled ModSecurity, if that helps anyone.
I’m trying to get my web host to help, but they don’t seem to know what to do.
Forum: Themes and Templates
In reply to: [Hueman] Post author on main pageYou are a star! Thank you this worked perfectly.
Forum: Themes and Templates
In reply to: [Hueman] Share bar not appearingThanks, will do so.
Forum: Themes and Templates
In reply to: [Hueman] Share bar not appearingNope, I deleted my child theme as it was super old.
Here are the contents of the edits I had made in the child theme. If you can see what was causing the problem that would be so useful.
Stylesheet
/* Global */ .mystyle {} /* Tablet - 800px, 768px & 720px */ @media only screen and (min-width: 720px) and (max-width: 800px) { .mystyle {} } /* Mobile - 480px & 320px */ @media only screen and (max-width: 719px) { .mystyle {} .search-expand { left: 55px !important; right: auto; top: 0 !important; width: 320px; } } /* Mobile - 320px */ @media only screen and (max-width: 479px) { .mystyle {} } /* Fonts */ .entry { color: #222; font-family: PT Serif, Latin-Ext; font-size: 19px; } .entry.excerpt { color: #222; } /* Other */ /* set topbar to fixed instead of scroll */ .full-width #nav-topbar.nav-container { position: initial; } .full-width.topbar-enabled #header { padding-top: 0; } /* Byline Avatar Style */ /* position avatar next to post byline */ .single .byline-avatar { float: left; margin: 0 1px 12px 0; width: 64px; height: auto; position: relative; } /* make byline avatar a circle */ .single .byline-avatar img { width: 80%; /* adjust size of image if needed */ height: auto; float: left; margin-right: 10px; /* adjust space around image */ border-radius: 50%; -webkit-shape-outside:circle(); shape-outside:circle(); } /* push byline down to center vertcally on avatar */ .single .post-byline { margin-top: 22px; } /* move search box to navigation bar */ .search-expand { right: 55px; left: auto; top: -50px; width: 320px; } .search-expand-inner { padding: 5px; } /* related posts settings */ div#jp-relatedposts div.jp-relatedposts-items-visual .jp-relatedposts-post { filter: alpha(opacity=100); -moz-opacity: 1; opacity: 1; } div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post:hover { filter: alpha(opacity=80); -moz-opacity: 0.8; opacity: 0.8; } #jp-relatedposts { font-family: Arial; } #jp-relatedposts h3.jp-relatedposts-headline em { font-size: 20px; } #jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title { font-size: 16px; padding-top: 5px; } /* white caption borders */ .entry .wp-caption { background: white; } /* caption text alignment */ .entry .wp-caption-text { text-align: left; padding: 0 0 8px 8px; }
Functions
function featuredtoRSS($content) { global $post; if ( has_post_thumbnail( $post->ID ) ){ $content = '<div>' . get_the_post_thumbnail( $post->ID, 'large', array( 'style' => 'margin-bottom: 15px;' ) ) . '</div>' . $content; } return $content; } add_filter('the_excerpt_rss', 'featuredtoRSS'); add_filter('the_content_feed', 'featuredtoRSS'); function no_self_ping( &$links ) { $home = get_option( 'home' ); foreach ( $links as $l => $link ) if ( 0 === strpos( $link, $home ) ) unset($links[$l]); } add_action( 'pre_ping', 'no_self_ping' ); ?>
Single
<?php get_header(); ?> <section class="content"> <?php get_template_part('inc/page-title'); ?> <div class="pad group"> <?php while ( have_posts() ): the_post(); ?> <article <?php post_class(); ?>> <div class="post-inner group"> <h1 class="post-title"><?php the_title(); ?></h1> <p class="byline-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></p> <p class="post-byline"><?php _e('by','hueman'); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option('date_format')); ?></p> <?php if( get_post_format() ) { get_template_part('inc/post-formats'); } ?> <div class="clear"></div> <div class="entry <?php if ( ot_get_option('sharrre') != 'off' ) { echo 'share'; }; ?>"> <div class="entry-inner"> <?php the_content(); ?> <?php wp_link_pages(array('before'=>'<div class="post-pages">'.__('Pages:','hueman'),'after'=>'</div>')); ?> </div> <?php if ( ot_get_option('sharrre') != 'off' ) { get_template_part('inc/sharrre'); } ?> <div class="clear"></div> </div><!--/.entry--> </div><!--/.post-inner--> </article><!--/.post--> <?php endwhile; ?> <div class="clear"></div> <?php the_tags('<p class="post-tags"><span>'.__('Tags:','hueman').'</span> ','','</p>'); ?> <?php if ( ( ot_get_option( 'author-bio' ) != 'off' ) && get_the_author_meta( 'description' ) ): ?> <div class="author-bio"> <div class="bio-avatar"><?php echo get_avatar(get_the_author_meta('user_email'),'128'); ?></div> <p class="bio-name"><?php the_author_meta('display_name'); ?></p> <p class="bio-desc"><?php the_author_meta('description'); ?></p> <div class="clear"></div> </div> <?php endif; ?> <?php if ( ot_get_option( 'post-nav' ) == 'content') { get_template_part('inc/post-nav'); } ?> <?php if ( ot_get_option( 'related-posts' ) != '1' ) { get_template_part('inc/related-posts'); } ?> <?php if ( ot_get_option('post-comments') != 'off' ) { comments_template('/comments.php',true); } ?> </div><!--/.pad--> </section><!--/.content--> <?php get_sidebar(); ?> <?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Posts Not Being IndexedThanks, I’m just concerned there is something I’m doing wrong with my website.
Would it be a good idea then to manually submit the page in webmaster tools?
Bing seems to index it fine.
Forum: Fixing WordPress
In reply to: Posts Not Being IndexedI am using Yoast SEO. I have the sitemap of that disabled and I am using the Google XML Sitemap plugin by Arne Brachhold.
Forum: Fixing WordPress
In reply to: Posts Not Being IndexedI don’t think it does.
Forum: Fixing WordPress
In reply to: My posts don't show up in GoogleAwesome. Thanks for your help! I will mark this as resolved.
Forum: Fixing WordPress
In reply to: My posts don't show up in GoogleThanks for your help. They seem to be appearing in search results now.
Should I include tags in my sitemap or just categories?
Forum: Fixing WordPress
In reply to: My posts don't show up in GoogleCool, that seemed to work fine. If I submit my homepage to the index will it drawl all the other posts on the site too, or do I need to submit them individually?
Forum: Fixing WordPress
In reply to: My posts don't show up in GoogleI have my sitemap setup in Webmaster tools. I’m using Yoast. How would I manually submit a post and do I need to keep doing that?
Forum: Themes and Templates
In reply to: [Hueman] Mobile view top bar appears over logoFantastic! I really need to up my CSS game, I find it fascinating.
You have been extremely helpful, I really appreciate it.