soapy
MemberForum Replies Created
-
Josh, thanks for the reply!
I’m not by my computer so I can’t confirm this…but I think the CSS you have listed is for the top search bar. I am referring to the search bar in the search widget. I don’t think the CSS is the same for both….unless I’m mistaken…
No, not using a private browsing window. I followed googles instructions to remove myself from my analytics by placing a blocking cookie on my computer…..I’ll then test from other computers to see if I get accurate results….don’t know if being signed into wordpress and viewing my site has anything to do with it?? Guess I’ll find out in a few days…..will make a bunch of hits from other computers and see if it accurately displays the correct number of UNIQUE visitors….
Hey Ken,
Thanks for the reply.
From what I have read, GA uses cookies and not IP addresses to track visitors to a site. I wonder if my browser automatically purges my cookies right away…..not sure….
Thanks for the information Josh….you say this is available in every post and page editor screen. I would want to use this on my home page….but obviously when you click on your page editor in wordpress….you see all the pages you have created except for your homepage. Is there still a way to apply the screenshot above to just the website home page?
Ken,
Can you recommend a simple way of implementing a meta description for my main index/home page of my website?
Ken, I just want to clarify….
For example, if I google Sony….the first search result is sony.com….and the description of the site is “View the wide world of Sony: electronic products, people…..etc.”. This is always the same description for the Sony website.
So…if I put a description in the tagline….when my website main homepage is displayed in google search results….will the tagline that I use always be my website description??
The only reason why I ask this is because i actually changed the tagline a few weeks back…but it is not showing it for my website description in google. Instead it is taking the text from one of my posts and displaying it under my site name.
Thank you Prasanna, it works great! Thanks again!
ok give me a minute here and i’ll let u know…thanks again…
It actually started displaying the code all over my dashboard in wordpress…..
No…it did not work….here is a copy of my functions.php file. This is the first time I made a functions.php file to put in my child theme folder so i’m not sure if i did this correctly…..
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
function searchfilter($query) {
if ($query->is_search) {
$query->set('post_type',array('post'));
}
return $query;
}
add_filter('pre_get_posts','searchfilter');
</body>
</html>
