Joseph
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to Style all levels of threaded comments with same font sizeThreaded comments are unordered lists inside ordered list so that won’t work.
Forum: Themes and Templates
In reply to: How to Style all levels of threaded comments with same font sizeUse this:
div#single-body ol li li { font-size: 1em; }
Forum: Fixing WordPress
In reply to: How to fetch Default categoryUse
get_option('default_category')
to get the ID of the default category and pass that into whichever category function you’d like to use.Forum: Fixing WordPress
In reply to: Stupidly changed the URL path and now can't get into my dashboardForum: Themes and Templates
In reply to: Latest Post Styled Different Than other PostsReplace
if( $counter == 1 )
with
if( $counter == 1 && !$wp_query->query_vars['paged'])
Forum: Themes and Templates
In reply to: Border Alignment IssueReplace
div#wrapper { background-color:#FFFFFF; border:0px solid #808080; border-top:none; }
with
div#wrapper { background-color:#FFFFFF; border-left:2px solid #808080; border-right:2px solid #808080; overflow: hidden; }
Forum: Plugins
In reply to: Ver 1.7 Next Gen Gallery1.6.2 is the lastest.
Try an older version instead https://www.ads-software.com/extend/plugins/nextgen-gallery/download/
Forum: Themes and Templates
In reply to: Loosing my centering in IE onlyYou’re welcome ??
Forum: Themes and Templates
In reply to: Loosing my centering in IE onlyOn the pages that aren’t centering, you have
<!-- header -->
at the start of the document which is causing IE to render in quirks mode instead of IE 8. Removing that comment will solve the problem.If you want to center pages in quirks mode for people that still uses ancient IE, add
text-algin: center;
tobody { ... }
.Forum: Fixing WordPress
In reply to: Media Library File URLIt’s inside the wp_postmeta table. _wp_attachment_metadata and _wp_attached_file meta keys
Forum: Fixing WordPress
In reply to: add a comment at the top of the pageWhich theme are you using?
Forum: Fixing WordPress
In reply to: Trying to add new button to WordPress EditorThis:
,'<div style="float: right; padding: 4px; margin: 6px; font-size: x-small; border: 1px solid #000; text-align: right;"><em>Photos: PHOTO CREDIT</em> [gallery slide="1" orderby="post_name"] <strong><div style="text-align: center;">Click the photo to go to the next photo</div></strong></div>'
has to be in one line:
,'<div style="float: right; padding: 4px; margin: 6px; font-size: x-small; border: 1px solid #000; text-align: right;"><em>Photos: PHOTO CREDIT</em>[gallery slide="1" orderby="post_name"]<strong><div style="text-align: center;">Click the photo to go to the next photo</div></strong></div>'
Forum: Themes and Templates
In reply to: problem image deformationRead what I wrote…
.grid-image img
Forum: Themes and Templates
In reply to: Getting the user_role in the template?You’re welcome ??
Forum: Themes and Templates
In reply to: Getting the user_role in the template?This is what I use:
<?php if (!current_user_can('level_10')) { ?> <!-- Google Analytics Code --> <?php } ?>