Jupiter
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Blogger to WordPress template converterOkay. Thanks for the replies.
Forum: Themes and Templates
In reply to: Blogger to WordPress template converterI have a custom template, but it’s based on Minima. Would it still be possible to port it?
Forum: Themes and Templates
In reply to: Adding a file to a templateOh okay, haha. Well, I learned something anyway.
Ah, there’s the problem. Thanks, everything works now.
Forum: Themes and Templates
In reply to: Adding a file to a templateSorry, should have been more clear.
I made a custom theme by copying the Default theme and modifying it. I need to call a function from header.php of this theme, and the function is in a separate file which isn’t part of the theme, but I don’t want to put the function in functions.php because a different part of my site uses the function. So, I tried using include() at the top of header.php to include the file that has the function, and it gave me this output:
Warning: main(): URL file-access is disabled in the server configuration in /home/.cattastrophie/thebytefactory/the-byte-factory.com/blog/wp-content/themes/the-byte-factory/header.php on line 1
Warning: main(https://the-byte-factory.com/template.php): failed to open stream: no suitable wrapper could be found in /home/.cattastrophie/thebytefactory/the-byte-factory.com/blog/wp-content/themes/the-byte-factory/header.php on line 1
Warning: main(): URL file-access is disabled in the server configuration in /home/.cattastrophie/thebytefactory/the-byte-factory.com/blog/wp-content/themes/the-byte-factory/header.php on line 1
Warning: main(https://the-byte-factory.com/template.php): failed to open stream: no suitable wrapper could be found in /home/.cattastrophie/thebytefactory/the-byte-factory.com/blog/wp-content/themes/the-byte-factory/header.php on line 1
Warning: main(): Failed opening ‘https://the-byte-factory.com/template.php’ for inclusion (include_path=’.:/usr/local/lib/php’) in /home/.cattastrophie/thebytefactory/the-byte-factory.com/blog/wp-content/themes/the-byte-factory/header.php on line 1
So, how do I include the file I need?
EDIT: Thanks, I’ll read your post.
Forum: Installing WordPress
In reply to: Turing off function that sets header and font colorOh okay, thanks. I couldn’t find it in style.css before, but now I that I know it’s in there I found it.
Forum: Themes and Templates
In reply to: Creating a new templateOkay, thanks guys. ??