customization question

Viewing 15 posts - 1 through 15 (of 23 total)
  • #1695
    Sylvain
    Participant

    I love it, it so clean. Thank you very much Daniel for this. I am working on my first site now, so when finished i ll come back to give you the link.
    Here my first one:newbie questions

    – Is it possible to change the order the block into the main section (putting last post section above feature/popular one or suppressing feature one for example
    – then how to activate the social bookmarking button
    – is it possible to see date and nb of comments in the post for the last post section.
    – do you have any other color style for the whole theme, even if this one is already nice, i would like to try something more dynamic,

    Already a lot of question lol. So net and clean theme, i am exited, really congratulation. Sylvain

    #1696
    Daniel Tara
    Keymaster

    Hi Sylvian,
    Glad you like the theme.
    [quote]Is it possible to change the order the block into the main section[/quote]
    Yes. Open the file home.php and copy the content starting from [code]<div id=”featured”>[/code] (line 50) to [code]</div><!– /popular –>[/code] (line 97). Place it immediately after [code]</div><!– /latest –>[/code] (line 130)

    [quote]then how to activate the social bookmarking button[/quote]
    Social bookmarks are activated by default. If you want to add a third party plugin you’ll have to hard code it in the theme.

    [quote]is it possible to see date and nb of comments in the post for the last post section.[/quote]
    Yes. Copy line 15 from home.php
    <p class="postmeta" style="margin-bottom:2px;"><?php the_time(__('F jS, Y','cover-wp')); ?> | <?php comments_popup_link(__('Add a Comment','cover-wp'), __('1 Comment','cover-wp'), __('% Comments','cover-wp')); ?></p>
    Place it immediately after line 109 (<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php _e('Permanent Link to','cover-wp') ?> <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>)

    [quote]do you have any other color style for the whole theme, even if this one is already nice, i would like to try something more dynamic,[/quote]
    No, but you can always experiment yourself. Create a file called mystyle.css, put it in the theme directory’s root and start adding your custom backgrounds.

    Enjoy!

    #1697
    Sylvain
    Participant

    Thanks a lot Daniel for efficient support I will try all this and let you know how it is going.

    For the social bookmark, i am so stupid you have to click on the article to see it. They are not on the front page (as i am using excerpt). Any way to place some of the button on the front page as well?

    I did create the mistyle.css and the overwriting works perfectly. It is a bit difficult to find things when you are not used to. I will try and if i do not find something i will ask. Thanks for your precious help. Sylvain

    #1698
    Daniel Tara
    Keymaster

    [quote]Any way to place some of the button on the front page as well? [/quote]
    Yep. Just insert [code]<?php share_save_container(); ?>[/code] wherever you would like to display the buttons.

    #1699
    Sylvain
    Participant

    Oh my god I start to understand better how tough is your Job. I started to change the color style and there are so many elements in there, i had no clue before plus the color coding and everything, a nightmare….so i decided your color theme was more than good enough for me. lol.

    For the share button if i want to put it at the end of the first article and in all the last post block, where should that be.

    And i have 2 questions more tricky i guess:
    1- i like very much the 2 column split that is used for the popular and featured block. I would like if it is possible to have the last post block to be spolit in 2 column as well…..probably heavier to change, no?

    2- i noticed than when I reduce my page size (ctrl – on firefox) the rss articles and comments text is either displayed on one or 2 lines as if depending on the blog windows size/police size there was sometimes not enough space in the small space you created. It is probably linked as well to the translation in french wich make this text a bit longer than english. It is a little thing , but i guess you are perfectionnist (doing this job you have to be…)

    3- About the menu line, how to reduce the width of this line i do not find it in the style sheet. I saw as well on another blog using your template that their was 2 menu bar. Is it difficult to create this second one?

    Mhh I really enjoy trying to tweak the theme but really it is a patience job, i admire you beeing able to code all this. But i guess you have good tools to make it easier, hopefully for you.

    Daniel, Actually this is the same for the GO button after the search site box, below a certain size of the window blog it is going below the search site box. I give you my url to check this 2 points if you want. perspective-placement.fr (don’t laugh because it is not ready at all yet lol)

    Thanks for everything, i appreciate. Happy sylvain

    #1701
    Daniel Tara
    Keymaster

    [quote]I start to understand better how tough is your Job.[/quote]
    It’s not a job and it’s not tough πŸ˜€

    Here’s a [url=http://www.w3schools.com/css/css_colors.asp]quick guide[/url] on what all those color codes mean.

    [quote]For the share button if i want to put it at the end of the first article and in all the last post block, where should that be. [/quote]
    In home.php insert [code]<?php share_save_container(); ?>[/code] after line 42 ([code]</div><!– /the_content –>[/code]) and before the line containing [code]</div><!– /spost –>[/code] in the latest block. I can’t know what line this is now since you changed it.

    [quote]I would like if it is possible to have the last post block to be spolit in 2 column as well…..probably heavier to change, no? [/quote]
    Yes. But I’m already thinking of a way. Allow me some time and I’ll send you an email later if I find a solution.

    About the text in the feeds, if you set the width of [code]#feeds[/code] to [code]192px[/code] it displays in 1 line. You may also want to stretch the background image feeds.gif. Some elements that skip a line when you zoom out of the default view may be a result of my own neglection when I coded the stylesheet. I wouldn’t bother about it as probably nobody will zoom out anyway.

    #1702
    Sylvain
    Participant

    Waou , i amazed by the level of support you are bringing in. I will try all this and expecting impatiently your mail. Thanks a lot for this i really appreciate that Daniel.

    #1703
    Sylvain
    Participant

    Daniel thanks for your answer, i did try it and it did not worked completely, just sent you back an answer.

    #1704
    Sylvain
    Participant

    Hi Daniel, I hope you will find few minutes to have a look to my last mail. The split is still not solved even if i tried different things? Thanks for you help in advance. Sylvain

    #1705
    Jill
    Participant

    Hi Daniel
    I was wondering on Popular post, is there any way I can change that to something else? Maybe even change it to most viewed pages.
    Thanks

    #1706
    Daniel Tara
    Keymaster

    Hi,

    As far as I know, WordPress doen’t natively calculate the views for posts. The are plugins that add such functionality though. I also considered implementing this, I’ll probably do it once I have the time.

    #1707
    Alice
    Participant

    Hi Daniel
    We also need to find another solution for the ‘popular post’. In a dynamic site we cannot have a static section in the top. Is it possible somehow to replace the ‘popular post’ part with a widget? And do you have any suggestions on how?
    Thanks:-)

    #1708
    Daniel Tara
    Keymaster

    To replace the popular section with a widget you’ll first have to declare the widgetable area by adding the following code to functions.php:

    [code]register_sidebar(array(‘name’ => ‘Popular’,’before_widget’ => ‘<div id=”%1$s” class=”sitem widget %2$s”>’,’after_widget’ => ‘</div><!– /sitem –>’,’before_title’ => ‘<h3>’,’after_title’ => ‘</h3>’));[/code]

    Then you’ll need to replace some code in home.php:

    Find the line [code]<div id=”popular”>[/code] and replace it with:

    [code]<div id=”popular”>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(7) ) : ?>[/code]

    Then find the line [code]</div><!– /popular –>[/code] and replace it with:

    [code]<?php endif; ?>
    </div><!– /popular –>[/code]

    Then a new widgetable area called Popular should appear.

    #1709
    Jill
    Participant

    Hi Daniel
    I tried the above and what i got was a duplicate of my existing sidebar.
    Thanks Jill

    #1710
    Daniel Tara
    Keymaster

    Sorry, I made a typo. Edited the code above, now it should be fine.

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in to reply to this topic.