lotfi.elhafi
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Tiny Forge] Title bug?Thank you Tomas, that was the solution.
OK, thanks for your help. Now I know where to start ??
I will compare the files with Twenty Twelve then and try to restore that functionality from it. If I manage to do it, I will post the solution here.
I’ll try to precise my idea.
I would like to keep my header across all pages/posts and have the feature image displayed just above (or below) the post title on the blog page (what you call archive view if I’m correct) but also on the post page (which is not the case on https://greggbanse.com).
The problem with the current behavior is that using a 16:9 featured image to illustrate a post is not practical because the header become too big. And using thinner images is also difficult because I need to crop my pictures too much.
Forum: Themes and Templates
In reply to: [Tiny Forge] Style for printingI deleted my browser cache and it worked. Thanks for your help.
Forum: Plugins
In reply to: [WP LinkedIn] Language proficienciesThanks. For those interested, here is my code.
Added in the settings:
languages:(language,proficiency)
Added to a copy of
profile.php
in a newlinkedin
folder inside my theme folder:<?php if (isset($profile->languages->values) && is_array($profile->languages->values)): ?> <div id="languages" class="section"> <div class="heading"><?php _e('Languages', 'wp-linkedin'); ?></div> <ul> <?php foreach ($profile->languages->values as $v): ?> <li class="language"><?php echo $v->language->name; ?>: <?php echo $v->proficiency->name; ?></li> <?php endforeach; ?> </ul> </div> <?php endif;?>