midimatt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Google won’t index my siteSeeing that Google’s cached copy of your home page is 3 days ago, and seeing that it’s different from your current home page, it’s likely that Google just hasn’t gotten to crawling your site yet. Give it time. It might take a few weeks.
Considering you have a lot of “lorem ipsum”, though, I’m not sure why you would want Google to index the site at this point.
Forum: Fixing WordPress
In reply to: redirecting automatically that i dont wantI can see that in wp-content/themes/dt-nimble/js/scripts.js there is a function called
function dt_portfolio_ajax()
that is causing the redirect.window.location.hash = 'all/1/' + layout;
Forum: Fixing WordPress
In reply to: Google won’t index my siteForum: Fixing WordPress
In reply to: Google won’t index my siteGoogle does indeed index it. Search Google for
“site:” followed immediately by your URL.I wrote the shortcodes. They’re pretty straightforward. Each returns a simple string.
If there is a sanitize function that’s “cleaning” up the link, it’s not doing a very good job… There’s no invalid data (characters or otherwise) within the returned data. Nothing a link attribute can’t handle. One value is escaped as a URL, and the other as an attribute – so there shouldn’t be any unacceptable characters.
I should also mention – The site isn’t public – I have it running locally using XAMPP. I doubt that makes a difference, but in case it does I’ll mention it.
- This reply was modified 8 years, 4 months ago by midimatt. Reason: additional info
There’s not a shortcode inside of $output. $output is just a string. That string is either a URL or a target, such as “_blank”. They’re being obtained from the get_theme_mod function.
- This reply was modified 8 years, 4 months ago by midimatt.
Forum: Fixing WordPress
In reply to: Remove Space From TopI should mention – The code you display above isn’t found … just the code to hide the main header:
.page-id-8428 header { display: none; }
Just change that to
.page-id-8428 header, .page-id-8428 #Subheader { display: none; }
Forum: Fixing WordPress
In reply to: Remove Space From TopWhat you have showing at the top is the “Subheader” div
<div id="Subheader">
Add your display:none CSS code to that as well to make it disappear.