skulled
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS Borders & BG not showingWhat’s the URL to the site?
Forum: Fixing WordPress
In reply to: Unable to Allow Comments-There are a couple of options which might be conflicting with each other in terms of allowing discussion on the entries.
Check all option settings related to Comments.
Also see if when you are writing a post, if the checkbox Allow Comments is checked ..
Forum: Fixing WordPress
In reply to: Want to remove sidebars on only one pageThis is apparently the CSS for the forum plugin:
<link rel=”stylesheet” href=”https://www.dakzoekje.nl/wp-content/plugins/rs-discuss/template.css” type=”text/css” media=”screen” />
So check in that file, and see if it is setting widths, and accordingly adjust the widths.
Forum: Fixing WordPress
In reply to: more statcounter QsCan you please provide the link to the website?
Forum: Fixing WordPress
In reply to: Displaying my Blog on the html side of my websiteIf you are getting a undefined function it means, you blog files aren’t getting called for some reason.
Where do you have this running and not working? Can you provide the link to it?
Forum: Fixing WordPress
In reply to: Want to remove sidebars on only one pageUse this code:
Add the following as the very beginning of your sidebar.php:
<?php /* If not forum page */ if ( !is_page('25')) { ?>
Add the following line to the very end of your sidebar.php:
<?php } ?>
That should do it. Let us know how it goes. ??
Forum: Fixing WordPress
In reply to: Disappearing SidebarWeird I can see your sidebar perfectly fine.
Forum: Fixing WordPress
In reply to: Help! Huge fonts in IE, and normal in Firefox ???When you are using the validator you normally provide it with the URL, depending on which page you are trying to validate, a different .php template file is used by WordPress.
More often than not, it is the index.php file.
But for Archives, Search, and Single post pages with Comment forms, the following are also used
archive.php
,search.php
andcomments.php
depending on your theme.Forum: Installing WordPress
In reply to: confused and lost!!I tried to explain this the last time you posted, but I have a feeling that you misunderstood what I was saying ..
You cannot add an include or something using the Create Page section in the wordpress admin.
Please take a look here: it explains how to have custom page templates inside which you can use any PHP code or includes as you wish.
Forum: Fixing WordPress
In reply to: Help! Huge fonts in IE, and normal in Firefox ???Please always validate your pages .. ??
https://validator.w3.org/check?uri=http%3A%2F%2Fwww.raisingsmallsouls.com%2F
You have an unclosed
<h1>
tag, I am guessing this is the main problem ..If that doesn’t solve it, then post back and we can help you out.
Forum: Fixing WordPress
In reply to: Pages how do i link to?..Create a new template file with the name of the page .. in your case ‘fishing-forum.php’ inside your theme directory ..
And place the forum file inside that template ..
That should work.
Forum: Fixing WordPress
In reply to: Changing ‘Index.php’ FilenameIf you have mod_rewrite .. you could try that .. but then you might have issues if you plan on using permalinks .. not sure though ..
Forum: Fixing WordPress
In reply to: How to determine if current page is a child of anotherThat is a good suggestion with the
is_child_of()
.. maybe soon it will be part of the core ..Well technically if you proficient in PHP you could just write up the
is_child_of()
function yourself, and add it to one of the wp-includes function files .. Just remember when you upgrade you will have to keep this in mind etc ..And as for the generalized way, its pretty much what a
is_child_of()
function would do .. but now you would just directly add it to the template files rather ..A rough outline for this method would be:
1. Get the current page id
2. Check with the database to see if the field called post_parent is set to anything other than 0.
3. If it is, then get the ID of that page (you might have to do this recursively to get to the meta parent depending on how the pages heirarchy is)
4. Once you have the final parent page ID, do whatever highlighting etc for the linkObviously implementation isn’t exactly as simple as listing it in 4 items .. ?? .. but you get the idea now hopefully
EDIT:
And yes you will have to use the following structure
if ((is_page(12))||(is_page(13))||(is_page(14)))
Forum: Requests and Feedback
In reply to: creating a new postYou could try turning off the visual editor completely, and then you should have the normal old style post write box ..
That’s what you want right? Or am I mis-understanding your question .. ?
Forum: Fixing WordPress
In reply to: How to determine if current page is a child of anotherWhat you want done cannot be done without custom code .. at least to the extent I am aware of ..
You can check for what page it is given you know the ID or the page or the page-name ..
So potentially if you have a page “bar” as a child of the page “foo” .. you could check the following condition:
if (is_page('bar'))
{
// Do whatever you want like highlighting page 'foo' link
}
But you would have to do this manually for every child-parent page combination ..
Another possible way is to generalize your PHP code, and check the database directly to see if the current page has a parent .. if it does, get the ID of the parent page, and then do whatever you want to it ..
Hope this helps. If something is not clear, post back and I will try explain more ..