Forums

Comfy magazines 1.0 (14 posts)

  1. me123
    Member
    Posted 3 months ago #

    Hello there..

    I'm using a Comfy Magazines 1.0 for my wordpress theme. My problem is...how can i put or control the FEATURED STORIES section? I cant find any setting for that...

    Thanks.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    There are literally thousands of WordPress themes - which means that many people won't be familiar with your particular theme. So a link to your site where people can see the theme might result in more responses.

  3. me123
    Member
    Posted 3 months ago #

    ok....www.mukmeen.com

    You can see there....the featured stories section are not working. I cant find it in the wordpress user panel but i can found the featured stories section in the ftp file.

  4. alchymyth
    The Sweeper
    Posted 3 months ago #

    as you are using a commercial theme, try to get support from the theme seller.

    there is not much this forum here can do to help with commercial themes, as there in no free access to all the theme files.

  5. me123
    Member
    Posted 3 months ago #

    No...actually..this is a Free version....i download it here http://wordpressthemesbase.com/detail/753.html

    See...the featured stories section on the Homepage didnt working...how to resolve this?

  6. alchymyth
    The Sweeper
    Posted 3 months ago #

    the files of the free version seem to indicate that there are settings options in the dashboard, where you can set which category to use for the 'featured' section.

    as I can't find these settings, I assume that the free version does not provide settings options.

    you need to edit /widgets/featured.html directly (using ftp http://codex.wordpress.org/Editing_Files ) and add your category and number selection there:

    <?php $features = new WP_query(); $features->query('showposts='.$comfy['featured_n'].'&cat='.$comfy['featured']); ?>

    http://codex.wordpress.org/Class_Reference/WP_Query
    http://codex.wordpress.org/Class_Reference/WP_Query#Category_Parameters
    http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters

  7. me123
    Member
    Posted 3 months ago #

    I'm confused..actually..i'm not familiar with coding....but i can find the

    <?php $features = new WP_query(); $features->query('showposts='.$comfy['featured_n'].'&cat='.$comfy['featured']); ?>

    in ===> /widgets/featured.html

    why it didnt work..please help me. Its seems complicated to do.

    :(

  8. me123
    Member
    Posted 3 months ago #

    Or can you please write a file for me for me to upload it?

    Thanks.

  9. me123
    Member
    Posted 3 months ago #

    Do you means that i ned to add category and number in that script?

    where..can you please show me step by step..as i'm not very familiar with coding...Thanks for your help...:)

  10. esmi
    Theme Diva & Forum Moderator
    Posted 3 months ago #

    Please stop posting every few minutes! You are tripping the forum's spam filters.

  11. alchymyth
    The Sweeper
    Posted 3 months ago #

    replace the posted code with:

    <?php $features = new WP_query(); $features->query('showposts=7&cat=53'); ?>

    example for 7 posts in category 53

  12. me123
    Member
    Posted 3 months ago #

    Yes already paste the code but ...still nothing change...

    What should i do?

    [Stop bumping!]

  13. alchymyth
    The Sweeper
    Posted 3 months ago #

    Yes already paste the code but ...still nothing change...

    What should i do?

    what category posts do you want to show under 'featured'?

    my personal opinion - buy the original commercial theme (with the support that might come with it) - the free version seems to have some problems.

    why there's no category.php file? i cant find it in wp-admin folder...

    it would be in /wp-content/themes/comfy/category.php if it exists;
    if it does not exist, then index.php will do the job;

    http://codex.wordpress.org/Template_Hierarchy

  14. me123
    Member
    Posted 3 months ago #

    Ok thanks....actually i have made a minor replacement to the script you told me before....and it works...! :)

    <?php $features = new WP_query(); $features->query('showposts=7&cat=53'); ?>

    What i do is....change &cat=53' to &cat='
    ( i delete 53 )

    Please see it http://www.mukmeen.com

    Anyway...Thanks for your help..:)

Reply

You must log in to post.

About this Topic

Tags

No tags yet.