M1chel
Forum Replies Created
-
Forum: Themes and Templates
In reply to: 404 page not showingBy customizing I mean that I created a new one.
Yes, I followed the documentation and I tried to read it several times to see if I was missing something and I can’t spot the error.
I wrote my 404 upon the default one but it doesn’t change much because the default is like any other template page with header, footer, and the 404 message.
mine is the same with more features and a better message.
but the structure didn’t change.however even if I put the default 404 back in the theme it doesn’t work, I get a standard error page from the server.
looks like wordpress doesn’t handle at all the error.if instead I insert the path of my error page in the .htaccess then the server use it, but it’s like is not related to wordpress and my header, footer, search form aren’t working, neither the stylesheet.
Forum: Themes and Templates
In reply to: 404 page not showinghey, does anybody knows why my 404 page doesn’t work?
I created a normal 404.php file which should displayed when a wrong url is used and I checked in the index file, there is the is_404 tag, so everything should work.
but it doesn’t, my page never shows.and if I put the path to the 404 directly into the .htaccess file then it shows but withut header, footer, search and so on. it’s like it doesn’t uses wordpress tags and it’s not connected to the rest of the blog.
in case no-one has an answer (like in the previous 2 weeks) there’s any other place here in wordpress where I can get support?
Forum: Themes and Templates
In reply to: 404 page not showingUp!
really, no suggestion? I can’t believe anyone ever customized its 404 page..
please, it’s quite important.
thanks ??Forum: Themes and Templates
In reply to: 404 page not showinghey guys,
no one can help?My problem changed a bit. I put the path to the page in my .htaccess file and now it shows up when I type a fake url, but it’s like it isn’t part of wordpress.
It doesn’t retrieve the header and the footer saying
Fatal error: Call to undefined function get_header() in C:\wamp\www\wordpress\wp-content\themes\default\404.php on line 9
template tags don’t work.what’s the problem?
Forum: Themes and Templates
In reply to: custom theme not showing in admin panelok, it works, I had to put in the folder a style.css file because mine had a different name.
pretty annoyingForum: Installing WordPress
In reply to: do I need multiple installations? do I need 2 databases?hey, since we’re here and I assume you have a long experience on wordpress maybe you can help me with another small problem.
I created a custom 404 page that I saved as 404.php but when I try a fake url I get the standard ugly page and not mine.
I haven’t found any place in wordpress to change this settings so reading some guides and stuff I understood I had to addErrorDocument 404 https://localhost/wordpress/wp-content/themes/default/404.php
to the .htaccess file.
It worked.
However the page doesn’t respond to the tags get_header and get_footer.
It’s like the 404.php isn’t part of the theme, it doesn’t retrieve the other parts.
Do you know why?I opened a topic about this a couple of days ago but no one answered, so I’m asking to you if you have any suggestions..
https://www.ads-software.com/support/topic/294640?replies=1Forum: Installing WordPress
In reply to: do I need multiple installations? do I need 2 databases?Great!
thank you so much and keep up the good work on your site, that tutorial is fantastic.Forum: Installing WordPress
In reply to: do I need multiple installations? do I need 2 databases?Thanks mate!
it really looks like you solved my problem.So let me get this straight: copying an existing installation I only have to modify the config file changing the table prefix and the blog will automatically create its own tables inside my database. so things won’t mess up.
right?and it makes no difference that I’ll be saving those installations on different subdomains as long the config is the same and direct all to the same database, right?
Forum: Themes and Templates
In reply to: create custom tag.phphey, ok it did the trick!
Thanks a lot! ??
Forum: Themes and Templates
In reply to: create custom tag.phpAh ok, I’ll try this!
I’m not using any theme, I’m creating my own.
however, to save time and because it’s the first time I’m using wordpress I’m basically overwriting the default theme.Thanks mate!
Forum: Themes and Templates
In reply to: applying javascript effect to a menu. how?ok, I still don’t understand why I can’t make this work. meanwhile I read about javascript and jquery enough to understand what every part of that function does. meaning that I should be able to avoid mistakes. I also tried other nice jquery effects and they don’t work as well.. boh.
However I achieved what I need with a simple css technique which does basically the same thing.. it changes the display value on hovering. it can’t has the smooth effect of waiting that the mouse slow down like that nice script but it does the trick.
https://www.jankoatwarpspeed.com/post/2009/01/19/Create-Vimeo-like-top-navigation.aspxit’s perfect for me coz I had a simple need and I prefer to avoid javascript for accessibility, but mostly because I don’t know how to use it enough.
now I have to make that styling the most crossbrowser possible..I hope this can help someone else with the same problem.
And thanks to RGlover for his assistance!Forum: Themes and Templates
In reply to: styling tagsah yeah, sorry both, I must have read badly last esmi suggestion and I didn’t saw the “a” for the anchor element! ?? sorry esmi.
yep the solution it’s quite obvious, I don’t know why I didn’t think of that.Thank you both guys!
Forum: Themes and Templates
In reply to: applying javascript effect to a menu. how?I don’t know what to say.. it still does not work. now I linked as well at the google JQuery CDN and the link to the other js file seems correct.
but if the code is correct I must have something else wrong..I’ll look into it. otherwise I think I should start studying javascript and build from scratch my own ??
hey, you helped, you gave me the correct script, you tested it, I guess now the rest of the mess is my fault so I’ll try to fix it.
thank you so much for your time and for explaining me things ??
Forum: Themes and Templates
In reply to: applying javascript effect to a menu. how?so you tested and it works? coz I tried fixing that line and it doesn’t..
maybe I missed something. can you check?Forum: Themes and Templates
In reply to: applying javascript effect to a menu. how?man, thank you for you patience!
however ?? it still doesn’t work. I let you see what I wrote (basically I copied your stuff while I’m trying) and see if you spot the error..
in the head:
<script src="https://localhost/wordpress/wp-content/themes/default/script/jquery-1.3.2.min.js" type="text/javascript"></script> <script src="https://localhost/wordpress/wp-content/themes/default/script/jquery.hoverIntent.minified.js" type="text/javascript"></script> <script type="text/javascript" charset="utf-8"> //<![CDATA[ $(document).ready(function() { function showSub(){ $("ul#hover_menu").show(500); } function hideSub(){ $("ul#hover_menu").hide(500); } var config = { interval: 0, sensitivity: 4, over: showSub, timeout: 500, out: hideSub }; $("ul.menu li.has_sub").hoverIntent(config) }); //]]> </script>
then in the body:
<ul id="menu"> <li><img src="https://localhost/wordpress/wp-content/themes/default/images/icons/eng.jpg" alt="eng" /></li> <li><img src="https://localhost/wordpress/wp-content/themes/default/images/icons/mobile.jpg" alt="mobile" /></li> <li class="has_sub"><img src="https://localhost/wordpress/wp-content/themes/default/images/icons/rss.jpg" alt="subscribe" /> <ul id="hover_menu"> <li><a class="top_feed" href="">blog feed</a></li> <li><a class="top_feed" href="">email feed</a></li> <li><a class="top_feed" href="">twitter</a></li> </ul> </li> </ul>
and in the css:
#menu { text-align: right; margin:0 3.3% 0 0; float:right; } #hover_menu { width:20%; margin:0 3.3% 0 75%; padding: 2%; background-color:#000; display:none; } .top_feed { font-size: 80%; font-family: arial, sans-serif; color:#fff; }
ok, pretty simple and temporary, but it should work. can you see what I did wrong?
thank you so much for you advice and you time.