katyakarski
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments off on my subpagesAs I mentioned, it’s probably called page.php in your theme
your theme is located somewhere under wp-content/themes in your wordpress folder.
Forum: Themes and Templates
In reply to: [URGENT] Sidebar background not full width of containerThe problem is your sidebar div isn’t long enough. Put a border around it and see. The content isn’t in the sidebar, so it doesn’t stretch the sidebar, you follow?
The way to fake this would be to put a background image in your container div, which is partly one kind of background, and partly another.
like this for example:
________________|||||
If that were one image, you’d have a different background on your content than you do on your sidebar, but it would be applied to the container.
If the left side is just a solid colour for example, then you don’t need to make a new image, just apply your sidebar background to the container, and align the background to the right hand side, repeat-y.
Forum: Fixing WordPress
In reply to: Comments off on my subpagesedit your page template and ‘comment out’ the comment inclusion.
it’s probably called page.php in your theme, and the line you’re looking for is:
<?php comments_template(); ?>
make it
<?php //comments_template(); ?>
At this point you don’t have to worry about closing comments manually on each page anymore. This will affect all pages based on the default template.
Forum: Fixing WordPress
In reply to: Using WordPress As A CMSyou bumped a two week old resolved thread to be pedantic about terminology?
good job.
Forum: Fixing WordPress
In reply to: how to restrict object embeds from excerptsending the broken tags to the browser, having the browser interpret them, and then having the browser hide code that it’s interpreted isn’t light weight, and doesn’t really fix anything.
The browser will still pull the image or attempt to reach the 3rd party site to do the embed, and then not display it. That’s a hell of a long way from light-weight.
swept under the rug certainly, but not exactly fixed.
Forum: Themes and Templates
In reply to: Can I include plugins in a paid theme?MindBlender, there’s nothing to be gained by further discussion or your passive-aggressive fanboism. My comment was very clear. I voiced what I thought was the case, but Chris_K informs me that there’s no such feature so I have to accept that.
The coincidence is astounding – being logged out of the site, and not being able to log back in for some hours directly after having a difference of opinion with a mod… but I can’t argue if an admin says there’s no such feature, there’s no such feature.
Forum: Fixing WordPress
In reply to: Remove the BR from [GALLERY] shortcodeThanks Zeo ??
Forum: Themes and Templates
In reply to: Can I include plugins in a paid theme?Just want to bring to everyone’s attention that I was spanked by a moderator for making this post. Couldn’t login for hours directly after making this post.
That’s very childish.
Forum: Themes and Templates
In reply to: Can I include plugins in a paid theme?There’s no confusion here, I just think that 99.9% of cases where people sell a product, they expect to be the only entity allowed to distribute it. You are talking about the 0.1% as if it is in any way statistically significant.
Under the GPL, the author is allowed to charge for the distribution, which in many respects is the same as selling it – but once it has been sold to 1 person, who then puts it up on their own site for free the GPL grants the author no protection – this is in direct contradiction to what the vast majority of people want when they intend to sell a product…. so playing with semantics aside, my point stands: “I don’t think it’d be GPL” It is a pretty safe bet that people wishing to make money off product sales won’t attach GPL licenses to them.
Anyhow, that point aside, I think coding around the plugin requirement with function_exists() is a worthwhile suggestion – failing gracefully is always nice as making something a requirement can be a bad idea when plugins can so often conflict with each other.
Forum: Fixing WordPress
In reply to: limit indexing of archives by botsThat’s the one I use as well. It’s a great plugin.
Forum: Fixing WordPress
In reply to: Posts get squshed :(you’ll need to find the right heading style for your blog posts.
it’s probably h2, or h3 in styles.css then add that to the definitions, it’ll look something like this:
h2 {
font-size: 1.4em;
color: #000;
clear: both;
}just add the clear: both; line into what’s already there for the correct heading – if it’s not H2 try H1, H3 and so on.
Forum: Fixing WordPress
In reply to: Posts get squshed :(add clear:both; to your post heading class in your style.css
Forum: Fixing WordPress
In reply to: how to restrict object embeds from excerptyou might want to look at some examples on the PHP strip_tags() function reference, which will allow you to remove any HTML from your $content – there are examples there which strip embed code reliably.
https://php.net/manual/en/function.strip-tags.php
you might want to apply that before you trim the length to make sure you get an accurate word count and to make sure you get it all.
ALSO it’s probably improtant to note here that you’re not actually using the_excerpt() function – your custom func employs the_content() to do this job, which doesn’t strip any of the stuff the_excerpt usually would strip for you automatically.
Forum: Fixing WordPress
In reply to: limit indexing of archives by botsthis won’t work for every spider, but google has an option for webmasters called the google sitemap – there are plugins to make this super easy.. it allows you to set the relative importance of certain areas on your blog, and “suggest” a crawling frequency to google.
robots text is a bit more brutal, but this should at least help google calm down a little (and it is by far the most aggressive of all the crawlers)
Forum: Fixing WordPress
In reply to: Using WordPress As A CMSMost welcome – thanks for asking a detailed question that made it really easy to help you lol.