Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter Yurasik1

    (@yurasik1)

    Hello Matt,

    Thank you very much. It looks great. How do I remove a sidebar with posts, categories and etc…

    Also goal is very cool future of donation form, but
    they already were able to collect some money without the website.
    I have learned that goal widget is based on goal amount and income collected. Is there a way to manually override the income?

    I will highly recommend to Dexter to switch to use your plugin. Great job!

    Regards

    Yury

    Regards

    Yury

    Thread Starter Yurasik1

    (@yurasik1)

    Matt,

    I received an email from Dexter, theme autor:
    Hi Yury, I have provided my theme to the author of Give in order to improve the integration with his plugin
    regards.

    Will you have an update for me soon?

    Thread Starter Yurasik1

    (@yurasik1)

    Also, the name of the author is Dexter.
    His email: dexter00x@gmail.com

    Thread Starter Yurasik1

    (@yurasik1)

    Matt,

    That’s the single.php file
    <?php

    /*

    * Template Name: Page (Post style)

    * Description: Create the famous One Page site with multiple sections and jump-to-section navigation

    */

    get_template_part(‘superior’);

    get_header();

    get_template_part(‘breadcrumbs’);

    if ( have_posts() ) :

    while ( have_posts() ) : the_post();

    $title_post = get_the_title();

    if($title_post==””){

    $title_post = ‘(Untitled)’;

    }

    $subtitle_post = “”;

    if(get_post_meta( $post->ID, ‘subtitle_post’, true )!= ”){

    $subtitle_post = get_post_meta( $post->ID, ‘subtitle_post’, true );

    }

    $meta_class = ”;

    if (!in_array(“social_meta_icons”, generosity_option(‘meta_posts’))){

    $meta_class = ‘meta_has_not_icons’;

    }

    $hearts = get_post_meta(get_the_ID(),’hearts’, true);

    if($hearts==”) $hearts = 0;

    $shares = get_post_meta(get_the_ID(),’shares’, true);

    if($shares==”) $shares = 0;

    ?>

    <!– General Container –>

    <div class=”all-content blog-simple”>

    <div class=”section blog-classic” >

    <div class=”container”>

    <!– Row of blog-sidebar –>

    <div class=”row”>

    <!– Blog post Row –>

    <div class=”col-md-8 main-block”>

    <!– Post Title –>

    <div class=”block-title”><h1><?php echo esc_html($title_post) ?></h1></div>

    <!– Featured image –>

    <div class=”featured-wrap”>

    <?php if(generosity_option(‘auto_thumbnail_post’) && has_post_thumbnail()): ?>

    <?php the_post_thumbnail(‘generosity_blog-post-thumbnail’) ?>

    <?php endif; ?>

    </div>

    <!– The post –>

    <div class=”blog-post”>

    <!– post meta –>

    <div class=”blog-item-right”>

    <div class=”blog-item-date”>

    <span class=”blog-item-number”><?php the_time(esc_html__(‘j’,’generosity’)) ?> </span>

    <span class=”blog-item-month”><?php the_time(esc_html__(‘M’,’generosity’)) ?> </span>

    </div>

    <?php if (in_array(“n_comments”, generosity_option(‘meta_posts_right’))): ?>

    <div class=”meta-post”>

    <span class=”meta-post-icon”>“><i class=”fa fa-comments-o”></i></span>

    <span class=”meta-post-n”><?php comments_number( esc_html__(‘0′,’generosity’), esc_html__(‘1′,’generosity’), esc_html__(‘%’,’generosity’) ); ?></span>

    </div>

    <?php endif; ?>

    <?php if (in_array(“shares”, generosity_option(‘meta_posts_right’))): ?>

    <div class=”meta-post”>

    <span class=”meta-post-icon meta-post-shares” data-postid=”<?php the_id() ?>”><i class=”fa fa-share-square-o”></i></span>

    <span class=”meta-post-n”><?php echo esc_attr($shares) ?></span>

    </div>

    <?php endif; ?>

    <?php if (in_array(“hearts”, generosity_option(‘meta_posts_right’))): ?>

    <div class=”meta-post”>

    <span class=”meta-post-icon meta-post-heart” data-postid=”<?php the_id() ?>”><i class=”fa fa-heart”></i></span>

    <span class=”meta-post-n”><?php echo esc_attr($hearts) ?></span>

    </div>

    <?php endif; ?>

    </div><!– post meta end –>

    <?php if($subtitle_post != “”): ?>

    <!– subtitle post –>

    <h3 class=”subtitle-post”><?php echo esc_html($subtitle_post) ?></h3>

    <?php endif; ?>

    <!– The post body –>

    <div class=”body-post”>

    <div class=”body-post-in”>

    <?php the_content() ?>

    <?php

    wp_link_pages( array(

    ‘before’ => ‘<div class=”pagination”><div class=”navigate-page”><span class=”page-links-title”>’ . esc_html__( ‘Pages:’, ‘generosity’ ) . ‘</span>’,

    ‘after’ => ‘</div></div>’,

    ‘link_before’ => ‘<span>’,

    ‘link_after’ => ‘</span>’,

    ) );

    ?>

    </div>

    <div class=”clearfix”></div>

    <!– post meta at bottom post –>

    <div class=”sub-meta <?php echo esc_attr($meta_class) ?>”>

    <?php if (in_array(“user”, generosity_option(‘meta_posts’))): ?>

    <span class=”meda-i”><?php esc_html_e(‘Posted by: ‘,’generosity’) ?><?php the_author_posts_link(); ?></span>

    <?php endif; ?>

    <?php if (in_array(“category”, generosity_option(‘meta_posts’))&&!is_page()): ?>

    <?php

    $the_cat = get_the_category();

    $cat_name = ”;

    $cat_link =”;

    if(count($the_cat)>0){

    $cat_name = $the_cat[0]->cat_name;

    $cat_link = get_category_link( $the_cat[0]->cat_ID );

    }

    ?>

    <?php if($cat_name != ”): ?>

    <span class=”meda-i”><?php esc_html_e(‘Category: ‘,’generosity’) ?>“><?php echo esc_attr($cat_name) ?></span>

    <?php endif; ?>

    <?php endif; ?>

    <?php if (in_array(“tags”, generosity_option(‘meta_posts’))): ?>

    <span class=”meda-i”><?php esc_html_e(‘Tags: ‘,’generosity’) ?><?php $posttags = get_the_tags();

    $max_tags = 1;

    if(generosity_option(‘max_tags’)!=”){

    $max_tags = generosity_option(‘max_tags’);

    }

    $countag=0;

    if ($posttags) {

    foreach($posttags as $tag) {

    $countag++;

    if ($countag<=$max_tags) {

    if($countag<=2) echo ‘, ‘;

    echo ‘term_id)).'”>’.$tag->name.’‘;

    }

    }

    }

    ?></span>

    <?php endif; ?>

    <?php if (in_array(“social_meta_icons”, generosity_option(‘meta_posts’))): ?>

    <!– social icons –>

    <div class=”share-excerpt”>

    <?php esc_html_e(‘share:’,’generosity’) ?>

    <?php

    get_template_part( ‘widgets/share-post’);

    ?>

    </div>

    <?php endif; ?>

    </div>

    </div><!– body-post end –>

    </div><!– body-post-block end –>

    <!– Comments list –>

    <?php if(!is_page()|| (is_page()&&!generosity_option(‘h_comments_page’))): ?>

    <?php comments_template() ?>

    <?php endif; ?>

    </div><!– Blog post Row end –>

    <!–Side Bar–>

    <?php get_sidebar() ?>

    <!–Side Bar End–>

    </div><!– Row of post-sidebar end –>

    </div><!– container end –>

    </div><!– section end –>

    </div><!– general container end –>

    <?php endwhile; ?>

    <?php endif; ?>

    <?php get_footer() ?>

    <?php get_template_part(‘inferior’); ?>

    Thread Starter Yurasik1

    (@yurasik1)

    Matt,
    Any news? Because I promised the client to go live tomorrow.

    Yury

    Thread Starter Yurasik1

    (@yurasik1)

    Thread Starter Yurasik1

    (@yurasik1)

    Thread Starter Yurasik1

    (@yurasik1)

    Do you need admin access info?

    Thread Starter Yurasik1

    (@yurasik1)

    Thread Starter Yurasik1

    (@yurasik1)

    I’ve included that code in custom css, but it still not working

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