Viewing 15 replies - 61 through 75 (of 88 total)
  • Just don’t put it inside of any existing <?php ?> tags.
    Always put new php after ?> and before the next <?php

    Ok great!

    Thread Starter mndo123

    (@mndo123)

    if u still there what the code for visitors ?
    i mean by visitors is hits = every one visited the site will be count ok ?

    I’ll be back.. See what you can find in the mean time.

    look for a plugin that can show site visits in a shortcode, this is for a widget but maybe it has a shortcode too? if not there is probably one out there.

    https://www.ads-software.com/plugins/traffic-stats-widget/

    Thread Starter mndo123

    (@mndo123)

    yeah will be great to come here egypt
    any time
    and i love US very much i hope to come sometime

    Thread Starter mndo123

    (@mndo123)

    please check it

    and tell me how can i make the text under the icons
    and change the font style , color , etc

    The page has pop ups that often won’t close and the page crashes, it’s too difficult to look at like that in a web inspector. Tried in both ie and firefox.

    also, this does not appear to be what we worked on, so it’s harder to know how it’s structured via web inspector. So far a I can’t position the images horizontally, only vertically, so the text can be at the bottom but the image only works left or right, I tried a lot of things but I can’t center it. So there may be other classes that are not appearing in the web inspector.

    can you post the code for that menu bar?

    Thread Starter mndo123

    (@mndo123)

    i need please the other codes

    for the visitors and the sold items

    Thread Starter mndo123

    (@mndo123)

    i added the code
    <?php echo do_shortcode (‘[wctss_total_sales]’);?><div class=”sold-items”> Sold Items</div>

    Thread Starter mndo123

    (@mndo123)

    like before i got another one down and the text is moved

    Thread Starter mndo123

    (@mndo123)

    its like this
    sold
    items
    i want it like thus
    sold items

    <?php echo do_shortcode ('[wctss_total_sales]');?><div class="sold-items"> Sold Items</div>

    Thread Starter mndo123

    (@mndo123)

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    </div>
    	</header>
      <div
      <div class="Members">
    <?php
    global $wpdb;
    $user_count = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->users" );
    echo "<p>Members  {$user_count}</p>";
    ?>
    </div>
    <div class="Graphic-Designs">
    <?php
    $args = array( 'post_type' => 'product', 'post_status' => 'publish', 'posts_per_page' => -1 );
    $products = new WP_Query( $args );
    echo $products->found_posts . '<p>Graphic Designs</p>';
    ?>
      </div>
      <div class="sold-items">
    <?php echo do_shortcode ('[wctss_total_sales]');?><div class="sold-items"> Sold Items
    	</div>
      </div>
    
      <!-- HEADER -->
    
    .Members {
      background-image:url(https://www.designsmarketplace.com/wp-content/uploads/2015/08/members_icon.png);
      background-repeat:no-repeat;
      float:left;
      height:80px;
      margin-left:580px;
      margin-top:420px;
      padding-top:60px;
    }
    
    .Graphic-Designs {
      background-image:url(https://www.designsmarketplace.com/wp-content/uploads/2015/08/ads_icon.png);
      background-repeat:no-repeat;
      float:left;
      height:50px;
      margin-left:200px;
      margin-top:423px;
      padding-left:15px;
      padding-top:60px;
      width:80px;
    }
    
    .sold-items {
    	  background-image:url(https://www.designsmarketplace.com/wp-content/uploads/2015/08/sold_icon.png);
    	  background-repeat:no-repeat;
    	    float:left;
      height:50px;
      margin-left:200px;
      margin-top:423px;
      padding-left:15px;
      padding-top:60px;
      width:80px;
    }
Viewing 15 replies - 61 through 75 (of 88 total)
  • The topic ‘what is the code for that ?’ is closed to new replies.