tkse
Forum Replies Created
-
Forum: Installing WordPress
In reply to: WordPress on local networkOkey, so I got in now. Two problems, I can’t get into anything but the front page and the front page is CSS-free for some reason. Do you know anything about that? :S
Forum: Installing WordPress
In reply to: WordPress on local networkIt looks like my webhosts backup-system didn’t do a complete backup, including all tables such as siteurl, so I guess I have to do a manuall backup, then I’ll try. Thanks for the help so far, I’ll post when I have tried this out again. 🙂
Forum: Installing WordPress
In reply to: WordPress on local networkI tried multiple downloads, but I’ll guess I can try one more time. One question though:
If I copy/paste from my webserver to local, I have to go into phpbbMyAdmin and change the URLs if I understood the guide correctly?
I have gotten this to work previously, wonder what I do wrong this time. 😛
Forum: Installing WordPress
In reply to: WordPress on local networkWell, the picture is from a totally clean install of WordPress, that’s what I don’t get? Meaning every of your solutions won’t work. :S
I will try using a sub-domain on my web-server to test it out now, MAMP has always been a problem for me. And thanks for the “Moving-WordPress” link. 🙂
Forum: Themes and Templates
In reply to: Sidebar inside page…Turns out, I’m just tired and dumb. In the index.php ofc. -.-
Forum: Themes and Templates
In reply to: Sidebar inside page…Last time I made a twentyeleven theme, also for 3.3.1 I’m pretty sure there was some PHP-code in the footer.php to get the sidebar, or maybe it was in content.php. Either way I cant find it, but it has to be somewhere as the sidebar shows up on the normal, none-static blogposts-index.
Forum: Themes and Templates
In reply to: Problem with including jQueryI’m trying to write a script, but I thought I needed to get the library-file first, because when I just write a script it doesnt work.
<script> jQuery(document).ready(function(){ jQuery('.single #recent-posts-2').appendTo('.topgrid'); }); </script>…in which case, we’re right back where @esmi started: wp_enqueue_script().
That again causes problems. :S
Forum: Themes and Templates
In reply to: Problem with including jQueryNo, not really. But how would I go about writing jQuery using that? Just throwing a script in there doesnt work so thats kind of where Im lost. 😛
In the last version of WordPress I used, I could just link to the jQuery-file in the header and write my script, which in 3.3.1 causes problems.
Forum: Themes and Templates
In reply to: Problem with including jQueryBack at zero then.
Any suggestions on how I should add my own script without breaking anything then?
Forum: Themes and Templates
In reply to: Problem with including jQueryOr not.
The wp_enqueue_scripts didnt fix the problem with the admin-bar.
Forum: Themes and Templates
In reply to: Problem with including jQueryI was able to fix it. 🙂
In the end it was just sloppy mistakes ruining it for me.
Forum: Themes and Templates
In reply to: Problem with including jQueryGo ahead: http://goo.gl/Cpq2E 🙂
But I did some troubleshooting myself, and there is two main problems. It cant find the jquery file and it looks for a text/html-file, not javascript.
Forum: Themes and Templates
In reply to: Problem with including jQueryTried it, tried full URL, doesn’t work. And it still creates a problem with the admin-bar.
Forum: Themes and Templates
In reply to: Problem with including jQueryI did, didnt I? 🙂
I can try with the 1.7.1-link.
Forum: Themes and Templates
In reply to: Problem with including jQueryOkey, so I did what you suggested.
I took my script out of sidebar.php and into a new file, myjquery.js inside the js-directory.
Then, I posted this in my functions.php-file:
function my_scripts_method() { wp_deregister_script( 'jquery' ); wp_register_script( 'google-jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js'); wp_enqueue_script( 'google-jquery' ); wp_register_script( 'my-jquery', get_template_directory_uri() . 'js/myjquery.js', 'google-jquery'); wp_enqueue_script( 'my-jquery' ); } add_action('wp_enqueue_scripts', 'my_scripts_method');I also tried seperating it into its own PHP-tag. It didn’t work unfortunaly.