Own Themes in WordPress 3.3
-
Hi,
I made my own templete for my website to replace the default theme or not using another theme offered the wordpress. with old versions of wordpress, my theme works properly and it shows on apperance theme page but when I upgrade my wordpress to 3.3 my theme didn’t show on theme page.anyone help me please?
-
You didn’t modify the
wp-content/themes/twentyeleventheme directly did you…?If you did then the upgrade probably overwrote your theme files.
Restore just that theme directory from your backup if you have one and consider switching to a child theme.
I’m not using twentyeleven theme. I built a new one from scratch and when I use this theme with old version of wordpress, I see it on wordpress apart the default themes but when I upgrade th wordpress to the latest version, I see twentyeleven theme and twentyten theme but I didn’t see my theme on wordpress.
Can you provide a link to your site so I can take a look?
As long as you have a separate directory for your theme in
wp-content/themesand thestyle.cssthat you have has valid template tags, then upgrading will not stop it from being listed. If it has the same name as an existing theme then that may be causing the problem.the link of my site is http://www.dellfar.com
I don’t change anything from style.css and the folder of my theme are still in wp-content/themeThe link you’ve provided points to
http://dellfar.com/wp-content/themes/twentyeleven/style.csswhich is the twentyeleven theme.What’s the directory name where your theme is located? The URL should be something along the lines of
http://dellfar.com/wp-content/themes/marifard-theme/style.cssThat will let me look at the
style.cssof your theme and I can see if there are any obvious problems with the top of it.Hi marifard,
Have you tried to upload a copy of your theme to your themes folder again? I would try that. I hope this helps!
Hi Tim S
yes I try uploading my theme in themes folder again but same problem.
regarding to Jan dembowski. my style.css of my theme is http://dellfar.com/wp-content/themes/Portfolio/style.css
Well, that looks fine to me. I had no trouble viewing that so your WordPress install should show Dellfar as an available theme.
Try simplifying the top of it. Change it from
/* Theme Name: Dellfar Theme URI: http://www.dellfar.com Author: Mario Fardell Author URI: http://www.dellfar.com Version: 1.0 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu (optional) License: License URI: General comments (optional). */to just this
/* Theme Name: Dellfar Theme URI: http://www.dellfar.com Author: Mario Fardell Author URI: http://www.dellfar.com Version: 1.0 */And see if the theme gets picked up by your installation.
I replace this piece of code but same problem. I didn’t see my theme in wordpress theme section. π
Just to rule it out, you are not running WordPress in multi site mode are you?
Jan sorry but I’m not understand your last post.
I’ll explain. Please be patient: It probably does not apply to you here but this is just in case.
When you have a single WordPress installation (non-network or not multi-site) you can view new themes just by copying them into
wp-content/themes.This should work for you when put your theme into
/wp-content/themes/Portfolio/for you but it doesn’t. Your theme’sstyle.cssis readable by your web server so it’s not a permission issue.Since you are not seeing the theme listed in your
http://dellfar.com/wp-admin/themes.phppage I want you to check if you are running in a WordPress network.In a WordPress network, you need to enable the theme in your network before it will show up on your blogs admin pages.
Try visiting
http://www.dellfar.com/wp-admin/network/themes.phpand see if that lists themes. If you are running a network or multi-site this may permit you to enable your theme.If you are not running a network or multi-site then you should see this error message.
You do not have sufficient permissions to access this page.Sorry Jan for my attitude.
I enter on last link you gave me and show me the error.
You do not have sufficient permissions to access this page.
Sorry Jan for my attitude.
No! Not at all, I didn’t think there was anything wrong with your reply. Certainly I did not perceive any attitude! We’re good. π I sometimes have a tendency to lecture. That’s why I was asking for your patience.
You are running a simple single install of WordPress, your files are readable, your
style.cssshould work, only it’s not.The very last thing I can think of is this: can you create a zip file of your custom theme? This new
Portfolio.zipshould containPortfolio/style.css Portfolio/functions.php Portfolio/etc. etc.Save that zip file to your PC and move the old folder to outside of your
wp-content/themesdirectory. Anywhere is good, just get it out of that themes folder.Once that old Portolio directory is move somewhere else, visit this URL and upload the zip file you created.
http://www.dellfar.com/wp-admin/theme-install.php?tab=uploadUpload and activate that theme. See if that works.
Edit: fixed the upload URL.
I make all pages on a zip file and I try to upload the zip file on link you gave to me but no reaction but when I click on install now button the path of zip file is cleared.
The topic ‘Own Themes in WordPress 3.3’ is closed to new replies.