ikaring
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to create 6 thumbnail for recent post ?I think you would better wrap each post item with div or article tag.
<?php while (have_posts()) : the_post(); ?> <div class="featured-post"> // Your code here </div> <?php endwhile; ?>You can then use .featured-post:nth-of-type(n+3) for small ones, though it depends on your design/layout.
Forum: Hacks
In reply to: Hide featured image if post format is galleryHow about changing
if ( has_post_thumbnail() )to
if ( has_post_thumbnail() && "gallery" != get_post_format() )Forum: Themes and Templates
In reply to: [Virtue] How do I Center my Page title?I have installed the virtue theme, and saw your situation.
To edit virtue.css, at least you need to access your server via ftp.
It is not possible to edit in admin panel.Good luck!
Forum: Themes and Templates
In reply to: [Virtue] How do I Center my Page title?The reason we suggest to use child theme is that, when you update the virtue theme, all your changes to the theme would be overwritten.
To avoid that, we make another theme and use the theme as a parent theme.See codex and you can find it not so complicated, I hope.
http://codex.wordpress.org/Child_ThemesHowever, if that is too much for you, you can edit /wp-content/themes/virture/assets/css/virtue.css directly. But never update virtue theme, though 🙂
Just add Erik’s or my css..page-header { text-align: center; }Forum: Themes and Templates
In reply to: Header Slider in SmartlineWell, I can’t test this theme, since it is not a free theme.
However, you can add featured image to page by adding the following code to functions.php.
Pls note, it is suggested to use child theme for editting theme.add_theme_support( 'post-thumbnails', array( 'post', 'page' ) );For adding tag support for pages, see this article.
Forum: Themes and Templates
In reply to: [Virtue] How do I Center my Page title?Your theme does not use style.css.
You need to test to add the css rule to /wp-content/themes/virture/assets/css/virtue.cssHowever, as Erik mentioned, you’d better use child theme than edit theme files directly.
Forum: Themes and Templates
In reply to: Header Slider in SmartlineSmartline theme seems to have slider feature.
Forum: Themes and Templates
In reply to: [Virtue] How do I Center my Page title?It seems your page does not have h1 or h2 with class name “page-title”.
Add class to h1 or h2 in the template file, or you can just add the following css rule:.page-header h1 { text-align: center; }+1 for using child theme.
Forum: Themes and Templates
In reply to: Problem installing new themeThat instruction should be for self hosted WordPress.
You can just search themes you like in the Themes page from search box.Forum: Themes and Templates
In reply to: [Twenty Twelve] Changes in child theme do NOT appear on websiteIt seems you forgot to add alpha value and closing parenthesis in the last line.
box-shadow: 0px 2px 6px rgba(100, 100, 100,;Forum: Fixing WordPress
In reply to: Adding outside store to wordpress themeThat is because of CDN.
You can fix that with some code in .htaccess file.
Check out the following pages.OK.
The following code saids, load loop-blog.php ( if not, loop.php ) here.
<?php get_template_part( 'loop', 'blog' ); ?>So see loop-blog.php and search for
the_post_thumbnail.Forum: Themes and Templates
In reply to: Unable to remove theme widgetsUnfortunately they have not unique class/ID for each divs.
I know still you can manage to display:none using nth-child selector or some sort, those hidden elements are still loaded.So IMO, it’s better be deleted from source, and keeping original code for backup would be enough.
Please check the template file again. (What is the file name?)
There shold be
the_post_thumbnail();somewhere.Replace that with this:
the_post_thumbnail( 'full' );Here’s codex for the_post_thumbnail.
http://codex.wordpress.org/Function_Reference/the_post_thumbnailForum: Themes and Templates
In reply to: Unable to remove theme widgetsOK. Then forget about creating custom template or child theme.
You can edit theme files from Appearance -> Editor, right?On the right column, there is ‘Custom Home Page Page Template’.
Click and copy whole the code inside the main textarea and paste on any text editor.
Save it for backup, and duplicate it for editing.Delete any section you want and copy it back to Edit Themes page.
If your change gonna deleted by theme update, just copy/paste the edited version again.