OfficialKHAN
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Changing Permalinks doesent work.Follow this link.
https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04
Under the permalinks and it will work.
Assuming you are using VHOST.
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeNow it’s working.
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeCan you provide me with a snippet of code? to add my reset.css i don’t get, i’ve tried a few things and its not working.
I’ve tried this.
wp_enqueue_style('reset', get_stylesheet_directory_uri().'/reset.css');
Doe sent work.
function style_resources() { wp_enqueue_style('reset', get_stylesheet_directory_uri().'/reset.css'); wp_enqueue_style('style', get_stylesheet_uri()); } add_action('wp_enqueue_scripts', 'style_resources');
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeShould i not use “wp_enqueue_style()”? with other style sheets or is that only allowed for style.css file aswell?
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeI tihnk i want “get_stylesheet_directory_uri()” instead…
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom Themeit is deffi possible to add 2 style sheets correct? In this way.
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom Themevar_dump(get_stylesheet_uri());
Returns
string(60) “https://local.cv.com/wordpress/wp-content/themes/CV/style.css”
It’s not returning my reset.css aswell?
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeI’ve just checked in developer tools and found this on my site when i view it .
`<link id=”reset-css” media=”all” type=”text/css” href=”https://local.cv.com/wordpress/wp-content/themes/CV/style.css?ver=4.0″ rel=”stylesheet”>
<link id=”style-css” media=”all” type=”text/css” href=”https://local.cv.com/wordpress/wp-content/themes/CV/style.css?ver=4.0″ rel=”stylesheet”>”What i can tell from this is that both the “reset” and “style” wp_enqueue_style entries are being assigned to the style.css. Why is it doing this?
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeIf i remove this
“`wp_enqueue_style(‘style’, get_stylesheet_uri());”
The reset.css still doe sent take effect.
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeThats correct, the border does not appear. From what u can tell have i set it up correctly?
Forum: Themes and Templates
In reply to: Adding Multiple Style Sheets To Custom ThemeIt’s on my local environment. I’m not trying to do anything over complicated
i was just trying to do something as simple as resting the * {margin: 0} in my reset.css and it taking effect. There is nothing in my style.css which overwrites this.
Just wondering why those the first style sheet reset.css is not taking effect. I get no error messages. Is there something else i can try. Maybe if i remove the style.css and see if reset.css takes effect then.
Forum: Plugins
In reply to: Creating A Custom User Information Input Plugin?bump
Forum: Plugins
In reply to: Creating A Custom User Information Input Plugin?Im thinking of a plugin also where its like a time-line. So on the admin page can they fill out multiple dates and information about each date.
Something simple like that, can this be done using plugins? I do not want to purchase anything i want to create it from scratch like i am creating my theme from scratch. Is there a good tutorial you know which shows me how to do this?
Forum: Themes and Templates
In reply to: Custom Theme, Static Page And Blogahh ok and i will just use the index.php as my main front page? i dont need to assign any separate template to it, because wordpress known index.php is the highest in the hierarchy?