Support » Fixing WordPress » Widely theme

  • alice_casarin


    hello everybody!

    I’m using widely theme for my website
    well, I don’t want that summary above the tweet bar to be shown in my home page, because it doesn’t fit well!
    What should I do? thank you very much

Viewing 2 replies - 1 through 2 (of 2 total)
  • Bea Cabrera


    Well, there is something a bit f**** up with your code.

    I guess this is the part you would like to eliminate:

    <img class="alignleft size-full wp-image-226" title="KENZO" src="" alt="" width="300" height="178">
    <a href="">Sono ancora una volta francesi i designer invitati alla prossima edizione dei saloni Pitti Immagine Uomo n°83 e Pitti W n°11, che andranno in scena come sempre in Fortezza da Basso e in Dogana a Firenze dall’8 all’11 gennaio 2013. Si tratta degli stilisti di Kenzo (gruppo LVMH) per la moda maschile e di Maison Kitsuné, azienda fondata a Parigi 10 anni orsono, per la moda femminile. Il fattore K individua due storie molto diverse tra loro, ma con una matrice comune di felice ibridazione culturale e professionale, caratterizzata da un approccio ludico del lusso.</a>
    " " <a href="">vai all’articolo su fashion magazine</a>
    ARGOMENTI TESSILI: Nuove stampe per tessuti progettate dallo studio Cuore di LattaTHE DRAGONFLY: Un concept stilistico che s’ispira alle ali della libellula, che identificano anche il brand: freschezza e leggerezza guidano le linee, i colori e le lavorazioni del prodotto. Eleganza maliziosa, quotidiana ricercatezza e poetici dettagli.&nbsp;
    ACCIAIO DRINK: dallo studio Cuore di Latta nasce la nuova collezione Acciaio Drink per la stagione primavera/estate 2013GUARAPO STUDIO: &nbsp;affidata allo studio Cuore di Latta la creazione della nuova linea di semi programmato Guarapo Studio

    If it were all wrapped inside a div I would recommend you to hide the entire div in css by doing display: none.

    BUT, you’ve got an img tag not properly closed, an h6 tag containing a whole paragraph with links, and paragraphs of text out of nowhere with no p tag or anything around.

    If you don’t want that part I suggest you just strip it off you code.



    Hi Bea! thank you for your quick help!
    well, I think I understand what you’re talking about, but I don’t find that part of code… this is the code of the front page:

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    <?php DISPLAY_ACURAX_ICONS(); ?>
    <?php get_header();?>
            <div class="title-line">
                <span class="page-title-text">Latest News</span><div class="title-width-line"></div>
                <div class="clear-both"></div>
            <div class="posts-one-row">
                <?php //Options
                $blog_category = get_option(THEME_NAME.'_blog_include_category');
                $categories = get_categories('orderby=name');
                $include_category = null;
                $slug = get_page_link();
                foreach ($categories as $category_list) {
                    if(!empty($blog_category[0][$category_list->cat_ID])) {
                        $cat = 	$category_list->cat_ID.",";
                        $include_category = $include_category.$cat;
                $value = 4;
                $paged = (get_query_var('paged')) ? get_query_var('paged') : 0;
                $args=array('cat'=>$include_category, 'post_status' => 'publish','paged' => $paged,'posts_per_page' => 4,'ignore_sticky_posts'=> 1);
                //The Query
                //The Loop
                if ( have_posts() ) : while ( have_posts() ) : the_post();
                        $imagedata = simplexml_load_string(get_the_post_thumbnail());
                        $data = get_post_meta( $post->ID, GD_THEME, true );
                        $title = the_title('','',FALSE);
                        $title = strtoupper($title);
                        if ($title<>substr($title,0,18)) {
                            $dots = "...";
                        }else {
                            $dots = "";
                        if ($i%4==0) {
                        else $lastclass="";
                <div class="one-post <?php echo $lastclass?>">
                    <div class="page-image-holder">
                        <div class="page-image-center">
                            <span class="page-image">
                                        <?php if (has_post_thumbnail()) {	?>
                                <a>"><img src="<?php echo get_template_directory_uri();?>/script/timthumb.php?src=<?php print $imagedata->attributes()->src;?>&w=202&h=130&zc=1&q=100" alt="<?php the_title(); ?>"  class="hoverimg"/></a>
                                            <?php }
                                        else echo '<div class="front-blank-image"></div>';?>
                    </div><!--ends page-image-holder -->
                    <div class="front-post-title"><a>"><?php echo substr($title,0,18).$dots; ?></a></div>
                    <div class="front-post-text"><?php truncate_post(130);?></div>
                    <div class="clear-both"></div>
                </div><!--closes one_cell-->
                        <?php $i++; ?>
                    <?php endwhile;
                <?php else: ?>
                <?php endif; ?>
                <div class="clear-both"></div>
            </div><!--close one row-->
            $menubutton = get_option(THEME_NAME."_custom_menu_button");
            $menubuttonurl = get_option(THEME_NAME."_custom_menu_button_url");
            $menubuttontext = get_option(THEME_NAME."_custom_menu_button_text");
            if (!empty($menubutton) && !empty($menubuttonurl)) {
            <div class="front-info-box">
                <div class="front-info-box-text"><?php echo $menubuttontext ?></div>
                    <div class="more-info-button">
                        <div class="more-info-button-left"></div>
                        <div class="more-info-button-center"><?php echo $menubutton?></div>
                        <div class="more-info-button-right"></div>
    	/* Run the loop to output the page.
    					 * If you want to overload this in a child theme then include a file
    					 * called loop-page.php and that will be used instead.
            //get_template_part( 'loop', 'page' );
            if ( have_posts() ) : while ( have_posts() ) : the_post();
    	<div class="clear-both"></div>
            <?php get_footer(); ?>

    What should I modify? thanks thanks thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widely theme’ is closed to new replies.