DigitalSquid
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How to recognize images!?Add
overflow:hidden
to .excerpt_inside and removemargin-top:-11px
from .index_titleForum: Fixing WordPress
In reply to: Password Protection not workingIt shows an “Enter password” screen for me.
Might be that you’re logged in as the WordPress Admin so automatically bypass any password protection. Try logging out and viewing the page.
Also, if you’ve already entered the password for that page then it’s probably set a cookie in your browser so yo’ll bypass the password check when you go back. Try clearing your cookies or using a different browser.
Forum: Developing with WordPress
In reply to: Wrong order for get_posts using custom typeI don’t think posts have a ‘menu order’ to be organised by.
Looking at the Codex page for the
menu_order
parameter:
https://codex.www.ads-software.com/Template_Tags/get_posts#Parameters:_WordPress_2.5_And_OlderIt says that menu_order is “Only useful with pages and attachments.”
Forum: Fixing WordPress
In reply to: WordPress incorrect URLSee this article for help on changing it back: https://codex.www.ads-software.com/Changing_The_Site_URL
Forum: Everything else WordPress
In reply to: showcaseForum: Themes and Templates
In reply to: BirdSITE theme errorI think the
home_url()
function was introduced in Version 3.0 of WordPress. Are you using an older version of WordPress? If so you’ll need to upgrade to a newer version to get that theme to work.Forum: Fixing WordPress
In reply to: mobile redirect – warning cannot modify header infoIf it’s a header redirect then it should be before any other code that sends output to the user. Try putting it at the top of your header.php file.
Forum: Themes and Templates
In reply to: mobile cssThat all looks like it should work.
Have you got a link to your site? It’s easier to troubleshoot these type of problems if we can see it in action.
Forum: Everything else WordPress
In reply to: SEO: Adding 'Blog name' to meta for each post – good/bad?Yeah, it would help a little but only if you were trying to get your site to rank for the keyword phrase ‘Blog name’ and the content of the posts were related to that phrase.
However, bear in mind that if a post isn’t related to that keyword phrase then you’ll just be diluting the meta data with unrelated info which means it could be marked down by the search engines.
Forum: Fixing WordPress
In reply to: Page Specific CSSIn your header.php file, within the <head> tag and after all the other stylesheet links, add:
<?php if(is_page('Page-Name')){ echo '<link href="path/to/stylesheet.css" rel="stylesheet" type="text/css" />'; } ?>
Forum: Themes and Templates
In reply to: mobile cssHave a read of this: https://www.w3.org/TR/CSS2/media.html
Typically, you’d use a stylesheet with the media=”handheld” attribute to tell browsers to use it for mobile devices.
Forum: Fixing WordPress
In reply to: Page Specific CSShttps://codex.www.ads-software.com/Conditional_Tags#A_PAGE_Page
You could use the
is_page()
function to add the stylesheet link to that particular page.Forum: Fixing WordPress
In reply to: Images Being ResizedIt could be either.
If you can’t find anything about resizing in the settings for the plugin, check Settings > Media in your Admin Panel. There’s details for size limits there and a tickbox option for resizing thumbnails.
Forum: Fixing WordPress
In reply to: 'Out of memory at line:4' error only in IE??It’s not line 4 of your HTML code that the error is referring to, it’s line 4 of one of your scripts.
The IE debugger says the problem is coming from https://ping.worldlogger.com/worldlogger.js which is the second to last script on the page.
Forum: Themes and Templates
In reply to: php relational operators : several values after !=Maybe use an array instead:
$categories = array(8, 10, 13); if(!in_array($all_cats_of_post[$i]->cat_ID, $categories)) { //Do something }