keha
Forum Replies Created
-
This solved a similar problem of mine, my own custom themes refused to show up in the codestyling localization plugin when the functions.php were present (loading textdomain in header.php with load_theme_textdomain), when I renamed the functions.php file themes appeared in the list!
By adding this fix, suddenly all themes where listed even when the functions.php were present.
Weird!
Thanks entr!
Forum: Themes and Templates
In reply to: How to use wp_get_theme?Figured it out, there’s possibly a better way of doing this?
$dp_theme_data = wp_get_theme(); define( 'DP_THEME_URI', $dp_theme_data->get('ThemeURI') );
Forum: Fixing WordPress
In reply to: Need help with wp.newPost and multisiteThe multisite install were NOT the problem, but my server setup was. To pass the request internally I had to add this line of code:
curl_setopt( $ch, CURLOPT_PROXY, 'localhost:80' );
Now it works like a charm! ??
Forum: Themes and Templates
In reply to: Making widget header largerYou can edit the theme files directly from your dashboard, but you need to know that your changes might be overwritten when updating the theme (if you usually do this from within the dashboard).
You can find the admin editor here: Appearance -> Editor
You need to find the style.css (probably already selected), add your custom CSS at the bottom and then save the file. Refresh your site to see the changes.
It’s not entirely foolproof to do it this way, but it should work. Also note that your theme might not use the default widget-title class, it depends on how it is built. You need to check the source code to be entirely sure.
Forum: Themes and Templates
In reply to: Making widget header largerThe default CSS class for widget headers are “widget-title”, you could use this to add some custom CSS rules for your site.
.widget-title { min-height: 20px; /* Alt. min-width. Use a value that fit your needs */ max-height: 50px; /* Alt. min-height. Use a value that fit your needs */ word-wrap: break-word; /* This is CSS3, wrap to the next line when necessary */ }
Hope that helps!
Forum: Themes and Templates
In reply to: i delited my home page from my menuI looked at your site, I’m quite sure that the problem with the images is related to the theme itself. You need to change files within the theme, because the images get cropped when displayed in the portfolio section and another size is shown when you click the images.
You could add a new image size in the function.php file, with the wanted dimensions, and then alter the file that’s being used for displaying the portfolio, making sure the newly added image size is used.
You can read more about adding image sizes here: add_image_size.
Forum: Themes and Templates
In reply to: i delited my home page from my menuIf you have selected categories for the pictures, you should add a category to the menu. I don’t really understand what you mean. Have you selected a static page as your home page or is it posts? Are you having problems with the picture size and/or rotation?
Forum: Themes and Templates
In reply to: psd to wordpress themesThis is how I do it, in short; Make a skeleton model of the site in simple HTML, no fancy stuff. Then slice up the PSD and make the pieces fit inside the skeleton model. Make corrections to the html and css to make it look as similar as the PSD as possible, when done, go on add the needed WP classes and style them. When the theme layout works and look as intended, go on and add custom functionality. When you think you’re done, test it, and then test it again and again.
Forum: Themes and Templates
In reply to: i delited my home page from my menuI guess you deleted the menu item in your custom menu? Just add it again to the menu, the content is still there.
Forum: Themes and Templates
In reply to: text is spilling over next divI used chrome, firefox and safari and I don’t see the spill, have you fixed it? It could be a browser related problem, tried using another browser?
Forum: Your WordPress
In reply to: How to Make a custom LinkIf you use a custom menu, then you can add a custom link and add it to the menu where you want the link to appear.
Forum: Fixing WordPress
In reply to: add_menu_page() fatal error undefined function?Got it working! Excellent source of information. I’ve learned that you can not call some functions without using hooks.
Thank you very much!