Forum Replies Created
-
AuthorPosts
-
August 3, 2019 at 1:25 pm in reply to: WooCommerce Product Slider – Set Number of Columns to 1? #1124356
I have try to set the number of columns to 1 on the WooCommerce Product Slide with >
"subtype" => array( __('1 Columns', 'avia_framework' )=>'1', __('2 Columns', 'avia_framework' )=>'2', __('3 Columns', 'avia_framework' )=>'3', __('4 Columns', 'avia_framework' )=>'4', __('5 Columns', 'avia_framework' )=>'5', )),
but that breaks my website!
I need to set the number of columns to 1 or show the smaller product like the Otto.de site.(on mobile)
No . I mean the link work.
Hi Victoria,
already is working !
Best regards,
Mahdi- This reply was modified 5 years, 12 months ago by mjavidnikoo.
I found the PHP code, but it does not work well. I think it takes a bit of work. Can someone help me?(with out money!
<?php get_header(); ?> <section id="content" role="main" class="clearfix anmtd author-page"> <div class="wrapper"> <?php if ( have_posts() ) : ?> <div class="grids"> <div class="grid-4 columns column-1 sidebar-fixed"> <div class="author-box" itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"> <?php $curauth = ( isset( $_GET['author_name'] ) ) ? get_user_by( 'slug', $author_name ) : get_userdata( intval( $author ) ); ?> <div class="author-avatar"> <?php // Author Image $itemprop = array( 'extra_attr' => 'itemprop="image"' ); echo get_avatar( $curauth->ID, 180, '', $curauth->display_name, $itemprop ); ?> </div> <div class="author-info"> <h1 itemprop="name"><?php echo $curauth->display_name; ?></span></h1> <p itemprop="description"> <?php echo $curauth->user_description; ?> </p> </div> <ul class="author-social"> <?php $author_link = array ( 'user_url' => 'sphere', 'sptwitter' => 'twitter', 'spfacebook' => 'facebook', 'spgoogle' => 'google-plus', 'sppinterest' => 'pinterest', 'splinkedin' => 'linkedin', 'spinstagram' => 'instagram', ); foreach ( $author_link as $link => $name ) { ?> <?php if ( get_the_author_meta( $link ) ) { if ( $link == 'spgoogle' ) { $rel_author = '?rel=author'; } else { $rel_author = ''; } ?> <li> <a href="<?php echo wp_kses( get_the_author_meta( $link ), null ) . $rel_author; ?>"> <i class="icomoon-<?php printf( $name, get_the_author() ); ?>"></i> </a> </li> <?php } ?> <?php } ?> </ul><!-- .author-social --> </div> </div><!-- .grid-4 --> <div class="grid-8"> <div class="grids list-layout entries"> <?php while ( have_posts() ) : the_post(); get_template_part( 'content', 'post' ); endwhile; wp_reset_query(); ?> </div> </div><!-- .grid-8 --> </div><!--.grids--> <?php the_posts_pagination( array( 'mid_size' => 4, 'prev_text' => __( '<i class="icomoon-arrow-left"></i>' ), 'next_text' => __( '<i class="icomoon-arrow-right"></i>' ), ) ); ?> <?php else: ?> <p class="message"><?php _e('This author has no posts yet', 'themetext' ); ?></p> <?php endif; ?> </div> </section> <?php get_footer(); ?>
- This reply was modified 5 years, 12 months ago by mjavidnikoo.
Hi Victoria ,
Maybe I said bad! Or you have not worked on the code yet?
I have already inserted the code on the start page in a code block. but does not work!
i do not see any changes!
Best wishes,
Mahdi- This reply was modified 5 years, 12 months ago by mjavidnikoo.
Hi Victoria,
Here is login detail.
I have already inserted it on the start page in a code block.Best regards,
MahdiThis code shows in a table the price of dollars and euros. No, I did not tell the author the code because it works on other websites
- This reply was modified 6 years ago by mjavidnikoo.
i am trying to add a Javascript in the some page with Content Element (Code-Block)
the code is :
<script src=”http://www.tgju.org/webservice/global/snippet-loader.php?token=webservice&items=price_dollar_rl,price_eur,price_gbp,price_afn,price_try,price_amd&opts=diff,low,high,time&placeholder=tgju-data”></script><div id=”tgju-data”></div><style>body #tgju table.data-table thead th,body .tgju-copyright{background-color: #c231a7 !important;}body #tgju table.data-table thead th,body .tgju-copyright{color: #ffffff !important;}body #tgju table.data-table{border-color: #1a1a1a !important;}</style>I tried to add a code in the code block, but it does not work!
<script src=”http://www.tgju.org/webservice/global/snippet-loader.php?token=webservice&items=price_dollar_rl,price_eur,price_gbp,price_afn,price_try,price_amd&opts=diff,low,high,time&placeholder=tgju-data”></script><div id=”tgju-data”></div><style>body #tgju table.data-table thead th,body .tgju-copyright{background-color: #c231a7 !important;}body #tgju table.data-table thead th,body .tgju-copyright{color: #ffffff !important;}body #tgju table.data-table{border-color: #1a1a1a !important;}</style>- This reply was modified 6 years ago by mjavidnikoo.
Is it possible to help me to make author page like this https://themesindep.com/simplemag/author/jane/
- This reply was modified 6 years ago by mjavidnikoo.
can you please take look my author page? this work not really good with your code.
and i have some warning! php- This reply was modified 6 years ago by mjavidnikoo.
January 5, 2019 at 3:09 am in reply to: Can't change font size and color change in main content #1050166not any more .
January 4, 2019 at 7:16 am in reply to: Can't change font size and color change in main content #1049853I have same problem.
- This reply was modified 6 years ago by mjavidnikoo.
niemand wolle mich nicht antworten ?
i think a little bit is larger the size page web site.
if you think is normal then is okay .
thanks for support ! -
AuthorPosts