Wordpress stylesheet does not load at login page - wordpress-theming

I updated Wordpress to 4.3 version and the login page is not styled at all. At the sources the stylesheet doesn't seem to load. Is there any particular reason for this?
Thank you

It's possible the login page was overwriten during the update. Are you using a standard Wordpress Theme (2012, 2013, etc.) or a custom theme. In either case, you should paste your header text so we can see it.

Well, it was overwritten! Unbelievable mistake! I edited a core file and forgot it..And even though you said it before I thought "No way, didn't change it". So it needs a different way to add stylesheet in the login page..the usual enqueue way doesn't work.. did it like this: function my_custom_login() {
echo '';
}
add_action('login_head', 'my_custom_login');
Is this the only way?
Thanks for answering my noob question..

Related

How to make many pages in vs code

So I made 200 line code for a website I'm making and then I made a button to open another page that i will code as well but here is the problem I don't know how to start another page in vs code please help I'm beginner at coding I tried searching in YouTube but nothing helped
It can be hard to learn how to start - but we've all been there. You can do it!
For a brief starter, in VSCode, you can try this, and start learning from this point.
In your first HTML file button, ideally you'll have HTML similar to this: <a href="/file2.html"/>. In VSCode, just create file2.html in the same directory as file1, and add some HTML. It should populate.

Where can I edit/see the HTML of this Wordpress free theme?

the answer to this one will probably be obvious to many of you, but I recently decided to make a website for my girlfriend and expand my knowledge while doing that. So here is my dilemma:
I am using the Blossom Mommy Blog theme, which is a child of the Blossom Feminine theme.
Below a single post page, there is a previous post/ next post navigation menu and the "previous/next" text is in English and I want to change that to be in Bulgarian. I was able to see this in the browser debugger, but I can't seem to find where this comes from in the theme files themself, so any help would be really appreciated!
P.S. I even prepared a screenshot, but apparently I cannot attach files here...
P.P.S. Tried looking at the parent and child functions.php, also the templates, but could not find this HTML. Looks like some function is calling it, but I have no idea where to find this function.
With many thanks,
Dobri
Function: previous_posts_link();
Function: next_posts_link();
Use:
previous_posts_link( "Your label" );
More info:
https://codex.wordpress.org/Function_Reference/next_posts_link
https://codex.wordpress.org/Function_Reference/previous_posts_link

CSS Slide menu does not work as expected

here is my situation:
I've created this slide menu:
http://codepen.io/facundo_larocca/pen/vgBmGG
It is working fine and i like it.
The problem happens in the live version, when I tried to add it to my web app, simply it is not responding to the click.
I haven't hosted my app yet and I think it would be too much code to put it all here, but I have my github repo as public.
If you want to check it out, well you will know of course, npm install and then npm start
It is a ReactJS project + CSS, the component, which is not working as I expect is called ThemeSelector. You can check it out here
I'm adding it into this one, check line 42.
All CSS classes can be found here
Whatever you think that is needed to clarify my problem, let my know!!
Thanks in advance and HAPPY NEW YEAR for everybody!!!!
Edited after #Gaby aka G. Petrioli's answer
As I'm using ReactJS instead of pure HTML, for tag must be replaced with htmlFor.
You have forgotten to add the for="navigation" on the label line 22, so they are not linked.

How do I make changes in HTML code of website on wordpress?

Website source:http://www.salefee.com/blog/
The above website is made on wordpress.In this I have an html code which looks like: <div class="image-title-bg loading" style="padding-top: 140px;">(found out using inspect element option in chrome)
I want to change the padding-top: to 50px,But I am not able to find it in admin panel. Basically I am trying to reduce the image size on my first page of blog. Please help me out with this problem. Thanks in advance!!
You probably will enjoy this WordPress plugin : Simple Custom CSS
;)
You will have to find the relevant file and make changes in it.
Tip: You can search that html tag line in php files.
To change html in Wordpress in admin part you should get to source of home page which can be usually found in Appearance Editor tab. Over there you can find php and html which you can edit. Or if you have FTP access you can track file there.

Best way to redirect?

I got a website made in Wordpress, and it's not finished yet but I want people to be able to only visit a certain link.
Let say my website is: www.mywebsite.com, and the only section finished is www.mywebsite.com/gallery.
Inside the gallery I have several links, that should work. (those links open new pages).
However, if people go to www.mywebsite.com, it should redirect them to www.mywebsite.com/gallery.
I've seen several different redirect plugins, but I'm unsure what would be the best choice.
I want something simple that just works.
HTML meta-tag:
<meta http-equiv="refresh" content="1; URL=http://www.foobar.com/gallery">
PHP header function:
header("location: /path/to/folder");
JavaScript:
window.location.href = "http://www.foobar.com/gallery";
I suggest you to put a file (index.php) into your root folder and write the following in it:
<?php
header("location: gallery/index.php");
?>
But if you have no PHP on your Server you can also use the method with HTML or JavaScript as well.
I hope this helps :-)
Since mwatzer answer seems correct to any website, I would strongly suggest to use a plugin or change your start page by setting your gallery page as home page, WordPress automatically removes scripts inside pages and entries, and if you change your template files, on the next template update they will be gone unless you create a child theme.
Check WordPress Codex here: WordPress changing home page
Or check this plugin: Quick Page/Post Redirect Plugin