Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4019

    Hi! ;-)

    I have many questions for you guys!

    First of all, congratulations! you guys are amazing!

    1) How can I remove “no comments” to my blog page?

    2) Is it possible add boxed layout in this theme? (My theme is Display)

    3 )How can I add other column in contact page for address, phone etc.

    4) How can I remove sidebar from the portfolio ( see here please http://www.pulsarstudio.com.br/portfolio/reel) but not the blog page, I saw in another question but I don’t understand, I used Custome post template, but I don’t know what I did wrong

    Sorry for my english….

    Nivea

    #44624

    Hey,

    1) Delete following code in template_blog.php:

    <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>

    2) No it’s not easily possible because of the html and css structure of the Display theme.

    3) Open up template_contact.php and add your input fields before following code:

    <p>
    <input type="hidden" id="myemail" name="myemail" value="<?php echo $email_adress_reciever; ?>" />
    <input type="hidden" id="myblogname" name="myblogname" value="<?php echo $name_of_your_site; ?>" />

    <input name="Send" type="submit" value="Send" class="button" id="send" size="16"/></p>

    I’d suggest to use a contact form plugin like “Contact Form 7″ or cformsII though because it’s easier than adjusting the contact form template.

    4) You can use the “Custom Post Template plugin” to select individual templates for your posts/portfolio entries. You can download it here:

    http://wordpress.org/extend/plugins/custom-post-template/

    Afterwards upload the plugin files to your wordpress „plugins“ directory (located under wp-content/plugins).

    Now you need to create a template:

    a) Just make a copy of single.php, rename it to fullwidth_post.php and paste the following code before the first code line.

    <?php
    /*
    Template Name Posts: Fullwidth
    */
    ?>

    b) search for following code in fullwidth_post.php:

    $k_option['custom']['bodyclass'] = ""; // $k_option['custom']['bodyclass'] = "class='fullwidth'";

    and replace it with:

    $k_option['custom']['bodyclass'] = "class='fullwidth'"; //$k_option['custom']['bodyclass'] = "";

    Afterwards delete following code:

    <?php get_sidebar(); ?>

    Now you can selectthe fullwidth template on your portfolio post editor page.

    #44625

    Thank u Dude for your help!

    Lets see what can I do.

    #44626

    Glad that I could help you :)

    #44627

    Hi Dude!

    Here I’m again…

    I did and worked! But the item 4 I wanted FullWidth the portfolio page and not the post, Is it possible do a page with a only video in fullwidth?

    And the item 3, actually I wanted add two columns one for messages and other for information with toggle, is it possible?

    I did in photoshop what I would like:

    http://www.pulsarstudio.com.br/wp-content/uploads/2011/05/contact.jpg

    Thank you! :)

    #44628

    If you want to make the contact and the blog page fullwidth make following modification to template_blog.php and template_contact.php:

    Search for following code in template_blog.php and template_contact.php

    $k_option['custom']['bodyclass'] = ""; // $k_option['custom']['bodyclass'] = "class='fullwidth'";

    and replace it with:

    $k_option['custom']['bodyclass'] = "class='fullwidth'"; //$k_option['custom']['bodyclass'] = "";

    Afterwards delete following code:

    <?php get_sidebar(); ?>

    #44629

    Ok,

    Thank you!

    #44630

    Glad that I could help you :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘How can I remove no comments and other questions’ is closed to new replies.