Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter nootka

    (@nootka)

    Thank you!
    I thought the same regarding different ids.
    Unfortunately, changing the name the way you suggested doesn’t do anything. It stills reports the same error.

    i am having similar issue – still haven’t figure out where is the problem

    try to mark “hide content which is not available for the selected language” in configuration menu.
    hope it solves your problem

    nootka

    (@nootka)

    I was making some changes and I’ve realized that I’ve moved that page temporary ??

    But yes, it’s showing the custom field “custom_post_template” and its value, and if I add _ character it removes all custom fields, not just “custom_post_template”
    I guess, I will have to either use another plugin, or find less simple way to fix it ??

    Thank you for your time!

    nootka

    (@nootka)

    Dear Lord ??
    Could you help with this?

    custom_post_template keeps showing in my custom fields as custom_post_template: registar.php ( besides custom post template plugin, i am using another one – more fields ) as you can see here

    I’ve tried changing it in php files of the plugin, but it removes all my custom fields.
    Any advice on this?

    Thread Starter nootka

    (@nootka)

    I’ve removed one php file (sidebar-single) which solved the problem!

    Thread Starter nootka

    (@nootka)

    I did, but I need help fast, so I thought to try here in the meantime.
    +
    Footer menu was added, and tutorial I’ve found was not helpfull, so…

    Thnx Andrew for your suggestion ??

    Thread Starter nootka

    (@nootka)

    the problem was in header css code. when i deleted background-image section everything went back the way it was suppose to be. i will create fade color effect in photoshop ??

    #header {
      padding-top: 20px;
      background: #f2e1c0;
      background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f2e1c0), color-stop(100%, #FFFFF0
    ));
      background-image: -webkit-linear-gradient(#f2e1c0, #FFFFF0
    );
      background-image: -moz-linear-gradient(#f2e1c0, #FFFFF0
    );
      background-image: -o-linear-gradient(#f2e1c0, #FFFFF0
    );
      background-image: -ms-linear-gradient(#f2e1c0, #FFFFF0
    );
      background-image: linear-gradient(#f2e1c0, #FFFFF0
    );
      filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f2e1c0', EndColorStr='#FFFFF0
    ');
    }

    thank you sooo much for your time!

    Thread Starter nootka

    (@nootka)

    i will
    hope it will help
    thnx WPyogi

    Thread Starter nootka

    (@nootka)

    i did check validator, but i cannot find those errors in my header.php file or anywhere else. or i don’t see well ??
    check it out for errors in header.php:

    <!doctype html>
    <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
    <!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
    <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
    <head>
    
        <meta charset="<?php bloginfo('charset'); ?>">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    	<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;">
    
        <?php
            if(get_option(TK.'_seo_check') == 'true' ):
                tk_keywords_site();
                tk_description_site();
            endif;
            if((get_option(TK.'_seo_follow', '') == 'true') && is_tag() || is_tax()) tk_head_follow();
        ?>
    
        <title><?php tk_title_site(); ?></title>
        <meta name="author" content="tokokoo.com">
        <meta name="developer" content="Onnay Okheng - onnayokheng.com">
        <?php tk_favicon(); ?>
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
    
        <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" />
    
        <?php wp_head(); ?>
    
    </head>
    
    <?php $classbody  = (tk_is_product_page() || tk_is_wpsc_page() && is_home())? 'wpsc-product-page':''; ?>
    <?php $body_classes = join( ' ', get_body_class($classbody) ); ?>
    <!--[if lt IE 7 ]><body class="ie6 <?php echo $body_classes; ?>"><![endif]-->
    <!--[if IE 7 ]><body class="ie7 <?php echo $body_classes; ?>"><![endif]-->
    <!--[if IE 8 ]><body class="ie8 <?php echo $body_classes; ?>"><![endif]-->
    <!--[if IE 9 ]><body class="ie9 <?php echo $body_classes; ?>"><![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!--><body class="<?php echo $body_classes; ?>"><!--<![endif]-->
    
    <div id="headBanner">
        <p><?php echo stripslashes(get_option('tk_promo', 'Psst! Spend $100 and we’ll take care of the shipping for FREE! And a couple other surprises for your little one.')); ?></p>
    </div>
    
    <div id="container">
    
    	<header id="header" class="clearfix" role="banner">
    
    		<?php $taglogo  = (is_home() || is_front_page())? 'h1' : 'div'; ?>
    		<<?php echo $taglogo; ?> id="logo"><a>"><?php if(get_option(TK.'_logo') == '') bloginfo('name'); else echo '<img src="'.get_option(TK.'_logo').'"/>'; ?></a></<?php echo $taglogo; ?>>
    
    		<div id="loginSearch">
    
    			<p class="loginMenu">
    				<?php if ( is_user_logged_in ()){ ?><a>" title="My Account"><?php _e('My Account', 'tokokoo'); ?></a> | <?php } ?>
    				<?php if(!is_user_logged_in() && get_option('users_can_register') && get_option('require_register')) { wp_register('',' /');} ?>
    				<?php wp_loginout(home_url('/')); ?>
    			</p>
    
    			<?php get_search_form(); ?>
    
    		</div>
    
    		<div class="clear"></div>
    
    		<nav id="main-nav" class="clearfix" role="navigation">
    
    			<?php
    				if(has_nav_menu('header'))
    					wp_nav_menu( array( 'menu_class' => 'menu', 'menu_id' => 'header_menu', 'theme_location' => 'header', 'container' => '' ) );
    				else
    					echo '<ul id="header_menu" class="menu sf-js-enabled"><li id="menu-item-70" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-70"><a href="https://localhost/wpec38/">Home</a>';
    			?>
    
    			<div class="cartBox">
    
    				<div class="cartInfo">
    					<h3><?php _e('Shopping Cart', 'tokokoo'); ?></h3>
    					<div class="totalItem totalitems"><?php printf( _n('%d item', '%d items', wpsc_cart_item_count(), 'tokokoo'), wpsc_cart_item_count() ); ?></div>
    					<div class="totalCost totalprice"><?php echo wpsc_cart_total_widget(); ?></div>
    				</div>
    				<div class="cartDrop"><a>"><?php _e('detail', 'tokokoo'); ?></a></div>
    
    				<div class="panel"><?php echo wpsc_shopping_cart(); ?></div>
    
    			</div>
    
    		</nav><!-- /#main-nav -->
    
    	</header><!-- /#header -->
    
    	<div class="clear"></div>
    
    <div id="main" role="main">
    
    	<?php $idsection  = (!is_single() && !is_archive() && !is_category() && !is_tag() && !is_page() && !is_search() && !is_404() || tk_is_wpsc_page() || is_tax())? 'content':'blogPage'; ?>
    
    	<section id="main-content" class="<?php echo $idsection; ?>">
    
    		<?php if(!is_home() && !is_front_page() || is_home() && tk_is_wpsc_page()) { ?>
    		<div id="breadcrumbs">
    			<?php tk_the_breadcrumb('?'); ?>
    		</div>
    		<?php } ?>

    Thread Starter nootka

    (@nootka)

    reactivation fixed it!

    Thread Starter nootka

    (@nootka)

    you are really wonder towonder!
    https://www.youtube.com/watch?v=IxAKFlpdcfc
    thank you sooooo much, you’ve saved me!!! ??

    Thread Starter nootka

    (@nootka)

    of course!

    here is slideshow.php file:

    <?php
    $args = array(
    ‘meta_key’ => ‘sgt_slide’,
    ‘meta_value’ => ‘on’,
    ‘numberposts’ => -1,
    );
    $slides = get_posts($args);

    if ( !empty($slides) ) : $exl_posts = Array(); ?>

    <div class=”slideshow”><div id=”slideshow”>

    <?php foreach( $slides as $post ) :
    setup_postdata($post);
    global $exl_posts;
    $exl_posts[] = $post->ID;
    ?>
    <div class=”slide clear”>
    <div class=”post”>
    <?php if ( has_post_thumbnail() ) echo ‘‘.get_the_post_thumbnail($post->ID, ‘slide’,
    array(
    ‘alt’ => trim(strip_tags( $post->post_title )),
    ‘title’ => trim(strip_tags( $post->post_title )),
    )).’
    ‘; ?>
    <div class=”post-category”><?php the_category(‘ / ‘); ?></div>
    <h2>“><?php the_title(); ?></h2>

    <div class=”post-meta”>by <span class=”post-author”>” title=”Posts by <?php the_author(); ?>”><?php the_author(); ?></span> on <span
    class=”post-date”><?php the_time(__(‘M j, Y’)) ?></span> ? <?php comments_popup_link(__(‘No Comments’), __(‘1 Comment’), __(‘% Comments’), ”, __(‘Comments Closed’) ); ?> <?php edit_post_link( __( ‘Edit entry’), ‘? ‘); ?></div>
    <div class=”post-content”><?php if ( has_post_thumbnail() && function_exists(‘smart_excerpt’) ) smart_excerpt(get_the_excerpt(), 50); else smart_excerpt(get_the_excerpt(), 150); ?></div>
    </div>
    </div>
    <?php endforeach; ?>

    </div>



    </div>
    <?php endif; ?>

    Thread Starter nootka

    (@nootka)

    bad typing ??

    thanx, towonder,
    but it’s still working just with post content, and not with post title

    to see exactly what i mean, here is how it looks like:
    https://imageshack.us/photo/my-images/194/slideshow01.jpg/

    and here is the image where you can see that post title is left behind transparent background (i see this only when i change featured image dimensions):
    https://imageshack.us/photo/my-images/707/slideshow02.jpg/

    i really don’t have idea how to bring it on the same with post content…

    here is code from style.css file, considering slideshow:

    /*** Slideshow ***/

    #slideshow, .slideshow {
    height: 290px;
    width: 980px;
    overflow: hidden;
    position: relative;
    padding: 10px 0 0 0;
    box-shadow: 0px 7px 5px #d9d9d9;
    }
    .slide {
    height: 290px;
    width: 980px;
    background: #e0e0e0;
    }
    .slide img {display: block; float: left; width: 670px; height: 290px; position: relative; top: -20px; left: -30px;}
    .slide .post {padding: 20px 30px 0;}
    .slide .post-category {font-size: 11px; color: #d9d9d9; text-transform: uppercase; margin-bottom: 5px;}
    .slide .post a {color: #000;}
    .slide .post .post-category a {text-decoration: none;}
    .slide .post .post-category a:hover {text-decoration: underline;}
    .slide .post .post-meta {font-size: 11px; font-style: italic; color: #656363; margin-bottom: 20px;}
    .slide .post .post-meta span, .slide .post .post-meta a {color: #000; text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-style: normal;}
    .slide .post .post-meta a:hover {text-decoration: underline;}
    .slide .post .post-author {text-transform: uppercase;}

    .slide .post-content {
    color: #000;
    opacity: 0.70;
    z-index:999;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    background-color: #fff;
    height: 290px;
    line-height: 1.8em;
    margin: 0 0 0 640px;
    padding: 15px;
    position: absolute;
    right: 0px;
    top: 0;
    width: 280px;
    }

    .slide .post-content p {margin-bottom: 15px;}

    .slide .post h2 {margin-bottom: 5px;}
    .slide .post h2 a{
    color:#000;
    font-size: 20px;
    font-weight: normal;
    text-transform: none;
    }

    .slide .post-content h2 a:hover {text-decoration: underline;}

    #larr, #rarr {display: block; width: 32px; height: 53px; position: absolute; top: 106px !important; opacity: 0.2; z-index: 99 !important;}
    #larr {background: #000 url(“images/larr.png”) 8px 50% no-repeat; left: 0 !important;}
    #rarr {background: #000 url(“images/rarr.png”) 11px 50% no-repeat; right: 0 !important;}
    #larr:hover, #rarr:hover {opacity: 1;}

Viewing 14 replies - 1 through 14 (of 14 total)