shadez
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Private Commentstry:
if ( current_user_can('read') ) comments_template( '', true );
this fn supports roles.. but WP suggests not using it. your call.. ??
Forum: Fixing WordPress
In reply to: Tried to secure site and lost access to dashboardcheck if file permission of /wp-admin is set to 755 and all files within (esp index.php) are set to 644.
does /wp-login.php take you to dashboard instead of accessing via /wp-admin?Forum: Fixing WordPress
In reply to: Tried to secure site and lost access to dashboardcould be the password protection thing you did.. what exactly did you do? any permission changes?
Forum: Fixing WordPress
In reply to: How to get website title on one line@alex: site link?
Forum: Fixing WordPress
In reply to: get_search_query does not return tag nameok its
single_tag_title( '', false )
and not get_search_queryForum: Fixing WordPress
In reply to: WordPress:Error establishing a database connectionftp into server:
1. pick pics from wp-content/uploads
2. if you used a plugin for backup, then you may find it at wp-content/backupdb, or something.. nothing can be ‘stored’ on the dashboard. check which plugin you had used for DB.Forum: Fixing WordPress
In reply to: Site Changes – Keep Database or Export Posts & Comments?whats the difference? export-import to new or retaining old is the same aint it. i mean, eod, its the same data.
code, plugins etc dont get into your DB. infact, not even those images you use in posts…
have a look at this:
https://codex.www.ads-software.com/images/9/9e/WP3.0-ERD.png
there are couple of plugins which can cleanup post-revisions and stuff like that for you. and imho, that should do.Forum: Fixing WordPress
In reply to: New password (from WP) won't work.site link?
Forum: Fixing WordPress
In reply to: Site resolving really slowi got the same issue on DH…
Forum: Fixing WordPress
In reply to: Comment link is super smallopen style.css file
goto line 223
your current code is:.postmetadata { background: #000; padding: 1em; color: #999; font-size: 3px; -moz-border-radius: 5px; -khtml-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }
change “font-size” value to 1em:
font-size: 1em;
done!Forum: Fixing WordPress
In reply to: How To Make Sure Your Website Works ON All Browsersoops oops.. i thought its bout analytics as such.
and sorry cant help here much.. i prefer and do manual testing.Forum: Fixing WordPress
In reply to: How To Make Sure Your Website Works ON All Browsers@songdogtech: with all due respect, its hard to digest what you say about google analytics breaking browsers. so do you suggest moving it to footer? can you shed some more light on it?
Forum: Fixing WordPress
In reply to: Search bar never finds any postsi meant replace all code from search.php with this:
<?php get_header(); ?> <div class="main"> <?php if ( have_posts() ) : get_template_part( 'loop', 'search' ); endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
but that might not be the problem coz the code is almost the same…
or replace the contents within <div post_class> with:
<div <?php post_class(); ?>> <h2><?php the_title(); ?></h2> </div>
but again… the text displayed is ‘Apologies….’ and what you have in your code is ‘No post found’…
check by disabling plugins.. including jetpack…Forum: Fixing WordPress
In reply to: Search bar never finds any postswhy not just call the loop with:
get_template_part( 'loop', 'search' );
Edit: add search term to end of this url:
https://www.tensecondscoop.com/?s=Forum: Fixing WordPress
In reply to: Get parent categories in an Array – only phpok this was easy… solved it myself using explore..
$parentstr = get_category_parents( $cat, TRUE, "," ); $parentarr = explode(",",$parentstr); foreach ( $parentarr as $catparent ){ ........ }
anybody got any better code pls share…