Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter insept

    (@insept)

    !! I have no words for this wonderful surprise !!

    It worked!! I ran same testes here.. add new events.. new posts.. remove others… everything is working perfectly!

    Thank you very much for your kind attention!
    You really made it!

    Regards!!

    Thread Starter insept

    (@insept)

    I appreciate all you kind attention.
    Thank you very much!

    I will keep looking, but for now, I belive that I got my answer

    Thread Starter insept

    (@insept)

    I deleted everything and start over, but the result was the same,

    I want to thank you, I realize that you took some time on helping me!

    I will mark this topic as resolved, in a while, i just would like to ask if you can take an extra look to check based on what i will describe here:

    I disabled the featured, and it worked fine,
    The real issue is when I have the feature, my latest post never shows.
    The event is there, at the day that i posted 22 feb.
    at the feature the event is marked as 28 feb .. the day that will happen. I believe that this event 28 FEB is duplicated with diferente datess, if there is a code that avoid this.. this would work,

    Let me know your thoughts and I can give up in peace

    Thread Starter insept

    (@insept)

    I have checked and everything is the way that you told to me.

    I run some extra tests here and find out that when i set 0 on Featured Post Count (at theme options > blog) the latest post appears. but the design is not the one that i would like,
    other thing to be considered is that the big event appears only once. at 28th febreaury.

    but if I set 1 on Featured Post Count, the latest post (post 4) disapear. and the event “Palestra – Andrei Moreira” appears twice. One as 28th febreaury, and other time as 20th febreuary (the date that i posted)

    Is this a good hint for you to figure it out what is happening?

    Thread Starter insept

    (@insept)

    Hello,
    well in fact this is not the latest, was published on 20th feb, this 28 fev is the date that the event will happen (but i can live with this, if there is no other way)

    but the other issue is a real problem.
    you see.. i posted the POST4
    https://useindaiatuba.org.br/2016/02/21/post-4/
    put it does not appears at the page.
    It will only appear if i post another thing.. but this new thing will not appear,

    Regards

    Thread Starter insept

    (@insept)

    That worked very well!

    only minor errors now,
    you will see that now that:

    1- The main place is occupied for the same event, doesnt matter if i post a new event or post.

    2- When i post a new event or post, it doesn′t shows .. only after i post another one.. so the first will be apper.. and the new one will be on hide.

    Thread Starter insept

    (@insept)

    Another great News! it worked,
    but the events posts they are still big as you can see at ( https://useindaiatuba.org.br/ ) can they get smaller like the other posts?( https://useindaiatuba.org.br/category/artigos/ )

    The idea is that posts and event posts can arrange themselves like they usually do for a regular blog)

    Thanks in advance.

    Thread Starter insept

    (@insept)

    GREAT!!! This is a real good News! Thank you very much

    The most difficult you figured out how to do.
    Let me understand from you if we can set up this in a different way:

    Before we made this changes, i usualy have the main post and the old posts much smaller below the main one. like this https://useindaiatuba.org.br/category/artigos/

    but now all the posts are concentrated in a big slider..
    and for the events there are big pictures..

    Is it possible to have the new post bigger and the others small
    with no slider at all?

    THank you in advance!

    Thread Starter insept

    (@insept)

    Ohh, thas a little bit sad,

    I did contact them first, but they asked to me to try with diferents themes, and all of it worked very well. But the other themes doesn′t offer me the same resources that Hueman does. So for that reason, they told me to contact the Hueman support.
    At the same time, i didn′t find other event plugin better than this one.
    So I′m stuck between 2 great things that doesn′t work together =/

    Do you think that could work in some other way? any idea? anything?
    If you think that is better i can provide to you all my passwords, because i have no other way to make it work. ??

    Thread Starter insept

    (@insept)

    Good news: the new code does not impact on current events with a 404 page.

    Bad News: no changes at all.. still no events at the blog or post page..
    ??

    Thread Starter insept

    (@insept)

    I don′t know what happened to have this message 404…
    I tried everything..
    i removed the code that you sent to me, and now it′s working

    // add Tribe Event post type to main query
    add_action('pre_get_posts','sept_query_filter');
    function sept_query_filter($query) {
      if ( !is_admin() && $query->is_main_query() ) {
        $query->set('post_type', array( 'post', 'tribe_event' ) );
      }
    }
    Thread Starter insept

    (@insept)

    only 1 post by now, and 2 events, ??

    Thread Starter insept

    (@insept)

    In Theme Options > Blog, my settings are:
    1. Include featured posts in content área = was NO, I changed for YES
    2. Featured Category = selectone, i didnt find ′events′there
    3. Featured Post Count = 10 (max)

    In Settings > Reading, what are your settings for:
    1. Front page displays = recently posts
    2. Blog pages show at most 10 posts

    Thread Starter insept

    (@insept)

    first of all thank you so much, but didn’t work so far.
    I followed the steps but so far, i cant see the events on the blog or post page..

    see how is my code at function.php and featured.php

    // add Tribe Event post type to main query
    add_action('pre_get_posts','sept_query_filter');
    function sept_query_filter($query) {
      if ( !is_admin() && $query->is_main_query() ) {
        $query->set('post_type', array( 'post', 'tribe_event' ) );
      }
    }

    and

    <?php
    // Query featured entries
    $featured = new WP_Query(
    	array(
    		'post_type'			=> array( 'post', 'tribe_event' ),
    		'no_found_rows'			=> false,
    		'update_post_meta_cache'	=> false,
    		'update_post_term_cache'	=> false,
    		'ignore_sticky_posts'		=> 1,
    		'posts_per_page'			=> ot_get_option('featured-posts-count'),
    		'cat'						=> ot_get_option('featured-category')
    	)
    );
    ?>
    Thread Starter insept

    (@insept)

    I see, now i followed right, but after i copied the code at the function.php a message shows up everytime

    Fatal error: Cannot redeclare insept_query_filter() (previously declared in /home/usein027/public_html/wp-content/themes/hueman-child-master/functions.php:12) in /home/usein027/public_html/wp-content/themes/hueman/functions.php on line 839

    i cant edit it anymore, do you know what happened?

    ————————
    i fixed! no more messages
    ————————

    but the code didn′t work, i can′t see the events at this page
    can you see whats is going on?

    https://www.useindaiatuba.org.br

Viewing 15 replies - 1 through 15 (of 17 total)