Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • 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)

    in reply to: Add javascript to page #1059614

    No . I mean the link work.

    in reply to: Add javascript to page #1057800

    Hi Victoria,
    already is working !
    Best regards,
    Mahdi

    • This reply was modified 5 years, 12 months ago by mjavidnikoo.
    in reply to: Feature image for blog post on author page #1057136

    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.
    in reply to: Add javascript to page #1056750

    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.
    in reply to: Add javascript to page #1056371

    Hi Victoria,
    Here is login detail.
    I have already inserted it on the start page in a code block.

    Best regards,
    Mahdi

    in reply to: Add javascript to page #1056118

    This 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

    in reply to: Add javascript to page #1055840

    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>

    in reply to: Add javascript to page #1055273

    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>

    in reply to: Feature image for blog post on author page #1054396

    Is it possible to help me to make author page like this https://themesindep.com/simplemag/author/jane/

    in reply to: Feature image for blog post on author page #1050189

    can you please take look my author page? this work not really good with your code.
    and i have some warning! php

    in reply to: Can't change font size and color change in main content #1050166

    not any more .

    in reply to: Can't change font size and color change in main content #1049853

    I have same problem.

    in reply to: problem with amp #755577

    niemand wolle mich nicht antworten ?

    in reply to: problem size css and Script #749279

    i think a little bit is larger the size page web site.
    if you think is normal then is okay .
    thanks for support !

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