Viewing 30 results - 31 through 60 (of 127 total)
  • Author
    Search Results
  • Hi Mike!

    Mike- on the topic of restoring the title attribute to the linked thumbnails of your blog posts such as the link in the Private Content area, I found that the postslider.php was missing the title attribute on line 699 $title
    I have adjusted your child theme postslider.php so your natural titles will show.

    -S. Ok perfect, it now goes well. well done Mike!.
    ——————————————————-
    Mike- I also found that to remove the “portfolio elements” from the same page the “tag.php” needed to be adjusted, I did this and added the file to your child theme, so now the heading doesn’t show and no scripts or css is used to hide it, as requested.

    S.-Perfect, exactly what I wanted!
    ———————————————————
    Mike- I reenabled all of your plugins and customizations except for the two jQuery scripts that you didn’t want to use anymore in your original request.
    Please clear your browser cache and check.
    s.- Yes, the image title tags are now correct, Even the wording “portfolio elements” by default inside the tags, has disappeared, and removed even in the child thme so it will no longer appear.
    Everything seems to be working
    —————————————————————
    But I think there are still personalization files that create problems:

    Problem 1) – Analyzing portfolio articles (see link, 1 and link 2 in private)
    They appear in the header of hidden links that should not be there, these disappear if within the dashboard in the single portfolio article, set the command to “hide the header” (Link 3), if you want to try to see the difference in the analysis of the page, changing the settings to show or not show the header.
     -The problem is that I have thousands of articles and I would like to avoid going into all of them to “hide the magazine”, is there a way to do it for all the portfolio items?

    Problem 2 or 1b) – Linked to the problem of the header in the portfolio articles, it is noted that by inspecting the pages of the site with specific sites (see link 4 and try scanning a page “example link 5), hidden words appear that should not be present, (81 times the site name, 69 times the word “agrave” and others) This is a problem for my seo technician who is unable to have a clear keyword analysis.
    Is possible solve this problem?

    Problem 3) Do you still see the jS error that Yigit saw in this discussion? https://kriesi.at/support/topic/ajax-research-redirect-to-the-search-page-seems-that-the-search-does-not-respon/#post-1192685

    Conclusions:
    if you could check all the customization files, including css and delete those (or specific functions) that can create problems, and keep only those that are definitely going well, it would be great for me ..

    Unfortunately I have heard more developers and no one seems to be able to work well.

    thanks Mike

    I am confident in your work.
    I stay on hold.

    Best regards,
    S.

    Hi,
    Thank you for the ftp access, on the topic of restoring the title attribute to the linked thumbnails of your blog posts such as the link in the Private Content area, I found that the postslider.php was missing the title attribute on line 699 $title
    I have adjusted your child theme postslider.php so your natural titles will show.
    I also found that to remove the “portfolio elements” from the same page the “tag.php” needed to be adjusted, I did this and added the file to your child theme, so now the heading doesn’t show and no scripts or css is used to hide it, as requested.
    I reenabled all of your plugins and customizations except for the two jQuery scripts that you didn’t want to use anymore in your original request.
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1178650

    In reply to: Widget on Tag Page

    Thanks, it’s works

    I add this code on tag.php :

    <?php echo do_shortcode ( ' [id_widget] ' ); ?>

    #1177524

    In reply to: Widget on Tag Page

    And i try to edit tag.php but no success

    I have a shortcut for the widget by example but what the syntax for integrate the widget with php ?

    • This reply was modified 6 years, 1 month ago by OSLO2019.
    #1177452

    In reply to: Widget on Tag Page

    Hey OSLO2019,

    Where are you looking to add a widget? What do you mean by This is the only page that cannot be edited by wordpress, why ?, did you try editing tag.php for example?

    Best regards,
    Rikard

    #1160875

    Hi,

    Thank you for the update.

    The custom Archive template doesn’t use the loop-index.php file, only the default archives template like archives.php, tag.php files, index.php and the default blog element or config-templatebuilder > aviashortcodes > blog.php file. Try to look for this line:

    get_template_part( 'includes/loop', 'index' );
    

    Best regards,
    Ismael

    #1153905

    Topic: Tag returns Error

    in forum Enfold
    KWiesner
    Participant

    When I klick on a tag I get the following:
    please help:

    Fatal error: Uncaught Error: Cannot unset string offsets in /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-content/themes/enfold-child/functions.php:102 Stack trace: #0 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-includes/class-wp-hook.php(286): avia_post_slide_query_mod(Array, Array) #1 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider/postslider.php(865): apply_filters(‘avia_post_slide…’, Array, Array) #3 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-content/themes/enfold/tag.php(105): avia_post_slider->query_entries() #4 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-includes/template-loader.php(78): include(‘/www/htdocs/w00…’) #5 /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-blog-header.php(19): require_once(‘/www/htdocs/w00…’) #6 /www/htdocs/w00b6cdc/webseite-relaunch-2017/index.php(17): require(‘/www/htdocs/w00…’) #7 {main} in /www/htdocs/w00b6cdc/webseite-relaunch-2017/wp-content/themes/enfold-child/functions.php on line 102
    Die Website weist technische Schwierigkeiten auf.

    #1116297
    Anonymous

    Hello,

    After some attempts, I have done it now. The hint helped me with this.

    For others who want to solve the problem.

    The following lines must be inserted in the php files.
    index.php, archive.php, tag.php

    Search:
    $atts = array(
    ‘type’ => ‘grid’,
    ‘items’ => get_option(‘posts_per_page’),
    ‘columns’ => 3,
    ‘class’ => ‘avia-builder-el-no-sibling’,
    ‘paginate’ => ‘yes’);

    and replace it
    $atts = array(
    ‘type’ => ‘grid’,
    ‘items’ => get_option(‘posts_per_page’),
    ‘columns’ => 3,
    ‘contents’ => ‘excerpt_read_more’,
    ‘class’ => ‘avia-builder-el-no-sibling’,
    ‘paginate’ => ‘yes’);

    The following line is crucial.
    ‘contents’ => ‘excerpt_read_more’,

    Thanks for your help!
    Martin

    #1095607

    Hi,

    Sorry for the late reply. For tag pages then you will have to edit tag.php instead.

    Best regards,
    Rikard

    #1044301
    goodpixel
    Participant

    Hello I try to change blog layout for tag.php using

    From

    $avia_config[‘blog_style’] = apply_filters(‘avf_blog_style’, avia_get_option(‘blog_style’,’multi-big’), ‘tag’);
    if($avia_config[‘blog_style’] == ‘blog-grid’)

    To

    $avia_config[‘blog_style’] = apply_filters(‘avf_blog_style’, avia_get_option(‘blog_style’,’multi-big’), ‘tag’);
    if($avia_config[‘blog_style’] == ‘single-small’)

    But don not work https://www.waterworldsons.it/tag/allevamento-golden-retriever-americano/

    #1044188
    goodpixel
    Participant

    <?php $current_tag = single_tag_title(“”, false); ?>

    $output .= “<h1 class=’post-title tag-page-post-type-title’>”.$label.”</h1>”;

    https://www.mylabrador.it/tag/displasia/

    #1044180
    goodpixel
    Participant

    Do not work

    .category-term-description p {font-size:18px!important;}

    Also title term is missing in tag.php template ?

    #1004080
    Munford
    Participant

    HI
    I have some questions about the tag archive pages. I have some edited the tag.php so that the portfolio grid is in 4 columns instead of 3, but am seeing some pages are loading into 2 pages like the one shown below, even though there is space for more items on the 1st page. Can you help me fix this? Is it a matter of allowing only a certain number of items to show in the portfolio on a page? I’d like to show 12 on the page.

    Also is there a way to add some padding or space under the grid?

    thanks for your help,
    Nancy

    my tag.php code is:

    <?php
        if ( !defined('ABSPATH') ){ die(); }
        
        global $avia_config, $more;
    
        /*
         * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
         */
         get_header();
    
         echo avia_title(array('title' => avia_which_archive()));
         
         do_action( 'ava_after_main_title' );
        ?>
    
            <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
                <div class='container template-blog '>
    
                    <main class='content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content'));?>>
    
                        <div class="category-term-description">
                            <?php echo term_description(); ?>
                        </div>
    
                        <?php
                        global $wp_query, $posts;
                        $backup_query = $wp_query;
    
                        $sorted = array('post'=>array());
                        $post_type_obj = array();
    
                        foreach($posts as $post)
                        {
                            $sorted[$post->post_type][] = $post;
                            if(empty($post_type_obj[$post->post_type]))
                            {
                                $post_type_obj[$post->post_type] = get_post_type_object($post->post_type);
                            }
                        }
    
                        $avia_config['blog_style'] = apply_filters('avf_blog_style', avia_get_option('blog_style','multi-big'), 'tag');
                        if($avia_config['blog_style'] == 'blog-grid')
                        {
                            $output = '';
                            $post_ids = array();
                            foreach($posts as $post) $post_ids[] = $post->ID;
    
                            if(!empty($post_ids))
                            {
                                echo "<div class='entry-content-wrapper'>";
    
                                foreach($sorted as $key => $post_type)
                                {
                                    if(empty($post_type)) continue;
                                 
                                    if(isset($post_type_obj[$key]->labels->name))
                                    {
                                        $label = apply_filters('avf_tag_label_names', $post_type_obj[$key]->labels->name);
                                        $output .= "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";
                                    }
                                    else
                                    {
                                        $output .= "<hr />";
                                    }
    
                                    $atts   = array(
                                        'type' => 'grid',
                                        'items' => get_option('posts_per_page'),
                                        'columns' => 4,
                                        'class' => 'avia-builder-el-no-sibling',
                                        'paginate' => 'yes',
                                        'use_main_query_pagination' => 'yes',
                                        'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=> $key )
                                    );
    
                                    $blog = new avia_post_slider($atts);
                                    $blog->query_entries();
                                    $output .= $blog->html();
                                }
    
                                echo $output;
                                echo '</div>';
                            }
                            else
                            {
                                get_template_part( 'includes/loop', 'index' );
                            }
                        }
                        else
                        {
                            foreach($sorted as $key => $post_type)
                            {
                                if(empty($post_type)) continue;
                                 
                                if(isset($post_type_obj[$key]->labels->name))
                                {
                                    $label = apply_filters('avf_tag_label_names', $post_type_obj[$key]->labels->name);
                                    echo "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";
                                }
                                else
                                {
                                    echo "<hr />";
                                }
    
                                if($key == 'portfolio')
                                {
                                    $args = array_merge( $wp_query->query_vars, array( 'post_type' => $key ) );
                                    query_posts( $args );
    
                                    $grid = new avia_post_grid(array(   'linking'   => '',
                                        'columns'   => '4',
                                        'contents'  => 'excerpt',
                                        'sort'      => 'no',
                                        'paginate'  => 'yes',
                                        'set_breadcrumb' => false,
                                    ));
                                    $grid->use_global_query();
                                    echo $grid->html();
                                }
                                else
                                {
                                    $args = array_merge( $wp_query->query_vars, array( 'post_type' => $key ) );
                                    query_posts( $args );
    
                                    $more = 0;
                                    get_template_part( 'includes/loop', 'index' );
                                }
    
                                $wp_query = $backup_query;
                            }
                        }
                        ?>
    
                    <!--end content-->
                    </main>
    
                    <?php
    
                    //get the sidebar
                    $avia_config['currently_viewing'] = 'blog';
                    get_sidebar();
    
                    ?>
    
                </div><!--end container-->
    
            </div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>
    • This topic was modified 7 years, 6 months ago by Munford.
    #1002662

    Hey!
    You simply need to copy the tag.php template from the parent theme folder (wp-content/themes/enfold/tag.php) into your child theme folder (the final file path would look like wp-content/themes/enfold-child/tag.php). You can i.e. use ftp to access these directories/files. Then open up the tag.php (located in the child theme folder) and replace line 114:

    
    'contents'  => 'title',
    

    with:

    
    'contents'  => 'excerpt',
    

    to display the excerpt under the title. Afterwards save the file and upload it into the child theme folder. There’re also other possible values:
    – excerpt_read_more
    – title_read_more
    – only_excerpt
    – only_excerpt_read_more

    You can insert them instead of excerpt to generate a different output.

    Best regards,
    Peter

    #991555

    Hi,

    thank you for the info. What code do you mean exactly by saying “Instead of using the tag.php and the archive.php you can use specified with the name of the taxonomy / archive, so it should load only for those”?

    It’s not clear to me since there are a lot of links now that I should refer to, but which one is the right one?

    Really do appreciate all your help. Thank you so much in advance.

    Best regards,
    Sophie

    #985290

    Hi,

    Instead of using the tag.php and the archive.php you can use specified with the name of the taxonomy / archive, so it should load only for those.

    Best regards,
    Basilis

    #957173

    Hi Support,
    I’m sorry I don’t get it.
    How do I have to modify archive.php and tag.php to show the title?
    Kind regards
    Andre

    #943206

    I have the same problem but I do not find the string indicated in the tag.php file

    I would like to ask you how to make a change in the visualization of the results of a tag research.
    When I click on a tag, the results appearing in a new page are grouped according to titles that I would like to edit.
    In other words, I want to change the intro title that specify if the result is a post (Articolo ), an element of the portfolio (Elementi del Portfolio) or a page (Pagine). For example I’d like to change the text “Elementi del Portfolio” in “Prodotti” and “Articoli” in “Articoli Collegati”.

    #942137

    Hi,

    If you want to adjust the tag template then please copy tag.php to your child theme and make the adjustments there. Your second link seems to use the default page template so I’m not sure I understand what you mean by that.

    Best regards,
    Rikard

    #933325

    Hi,

    Thank you for the update. Please edit the tag.php file, look for this code around line 112.

      $grid = new avia_post_grid(array(   'linking'   => '',
                                        'columns'   => '3',
                                        'contents'  => 'title',
                                        'sort'      => 'no',
                                        'paginate'  => 'yes',
                                        'set_breadcrumb' => false,
                                    ));
                                    $grid->use_global_query();
                                    echo $grid->html();
    

    Replace it with:

                                  $grid = new avia_post_grid(array(   'linking'   => '',
                                        'columns'   => '3',
                                        'contents'  => 'title',
                                        'sort'      => 'yes',
                                        'paginate'  => 'yes',
                                        'set_breadcrumb' => false,
                                    ));
                                    $grid->use_global_query();
                                    echo '<div class="main_color avia-fullwidth-portfolio avia_sortable_active">';
                                    echo $grid->html();
                                    echo '</div>';
    

    Best regards,
    Ismael

    #918278

    Hey jrhopwood,

    Enfold doesn’t have a feature of having a pagination beside the author name in blogposts, I’m not sure we can help you with it since it would take a lot of time to do and outside the scope of our support.

    As for changing the tag that says Posts from h3 to h1, you can modify it in tag.php file in the Enfold theme, line 60:

    $output .= "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";

    and line 100:

    echo "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";

    Just change h3 to h1, but I would suggest using a child theme first: https://kriesi.at/documentation/enfold/using-a-child-theme/ copy tag.php from the parent theme to the child theme and do the modification, this way, the changes wouldn’t be lost during the theme update. Hope this helps :)

    Best regards,
    Nikko

    #906455

    Hello Basilis,
    sometimes I’m wondering how good the support team knows their own documentation and the theme itself…

    After some hours of research I found the right key words to find this:

    And this:
    https://kriesi.at/support/topic/display-only-excerpt-on-archive-page/
    And this:
    https://kriesi.at/support/topic/grid-read-more-button-in-archive/
    And this:
    https://kriesi.at/support/search/?bbp_search=tag.php

    So the relevant file is tag.php

    Regards, Enrico

    Topic can be closed.

    Could you please leave this to me, whether I can work something out or not? I just asked you in which file I need to look at, nothing more, the rest is up to me!

    Meanwhile I found this out for my own – and it is simple as it could be, if you know the right file:

    The word “Posts” on top of the tag archive page is found in tag.php!
    Not in archive.php, not in loop-index.php!
    Are you sure you know the theme???

    I had identified it simply by the h3 tag and a bit of thinking about what file could be responsible for the output of a TAG ARCHIVE, and replaced it with a line:

    //	echo "<h3 class='post-title tag-page-post-type-title'>".$label."</h3>";
    echo '<div style=" margin-top:20px; margin-bottom:40px;" class="hr hr-custom hr-center hr-icon-yes  "><span class="hr-inner   inner-border-av-border-fat" style=" width:200px; border-color:#f0edee;"><span class="hr-inner-style"></span></span><span class="av-seperator-icon" style="color:#f0edee;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="hr-inner   inner-border-av-border-fat" style=" width:200px; border-color:#f0edee;"><span class="hr-inner-style"></span></span></div>';

    The result is:
    the tag archive page shows the description, NOT the word “Posts” any more as shown in your demo, and in my case I added the avia line to separate the description from the following posts:

    https://www.dropbox.com/s/wg3wnyeahmlrfny/tagphp.jpg?dl=0

    This is “too complex” as you said???
    To comment out a single h3 line in tag.php????

    Thanks for checking. I’ve updated to PHP 7.0.26 with the same failed result. I’m having trouble replacing the image size in the grid on these templates: taxonomy-portfolio_entries.php and tag.php in the child theme.

    The code in question is the line image_size below.

    $grid = new avia_post_grid(array(	'linking' 	=> '',
          'columns' 	=> '3',
          'contents' 	=> 'title',
          'sort' 		=> 'no',
          'paginate' 	=> 'yes',
          'image_size' => 'square',  // DOESN'T WORK - set new image size: https://kriesi.at/support/topic/edit-the-archive-page-template/
          'set_breadcrumb' => false,
    ));

    Is image_size the correct parameter? The support topic listed above is from 2013. Please take a look and advise. Thank you!

    Hi,
    I don’t remember all the code I’ve tried, but rest assured I’ve tried everything that I found on this support forum – including the two links you suggest, without success. Let me restate my question more simply:

    How can I change the image size that the templates “taxonomy-portfolio_entries.php” and “tag.php” display?

    I’d like to change it from rectangular to square. See my original post for more detail. Thanks in advance!

    psstudiosinc
    Participant

    Hello!

    I have added a custom image size (rb-square in functions file), and use that size on an advanced builder created page:
    https://richard-bauer.psstudiosdev.com/work/

    Now, we want the same layout for the dynamically generated archive pages: (tag, and portfolio categories)
    https://richard-bauer.psstudiosdev.com/portfolio_entries/higher-education/
    this uses the customized template in child theme: taxonomy-portfolio_entries.php
    AND
    https://richard-bauer.psstudiosdev.com/tag/faculty-offices/
    this uses the customized template in child theme: tag.php

    Those templates use a different image size when they are rendered. I’ve attempted to change the size that they display through many techniques in this forum – this one in particular looked promising, but had no effect: https://kriesi.at/support/topic/edit-the-archive-page-template/

    I want the templates to use the Featured Image as set in the portfolio post, but use a square format.
    How can I change the image size that these templates display?

    Hi,

    I’m not sure why it’s ignoring the child theme functions.php file. If you want to change the image size, you have to modify the archive.php and the tag.php file. Edit the avia_post_slider parameters, specifically the ‘preview_mode’ and ‘image_size’ parameters.

    // https://kriesi.at/support/topic/thumbnails-generated-as-squares-on-enfold-archive-pages/#post-719294

    Best regards,
    Ismael

    #868673

    Hi,

    Danke für die sehr umfangreiche Info.

    ad 5)

    Im Dashboard -> Enfold Child -> Header gibt es Menu und Logo Position. Probiere dort andere Einstellungen, z.B. Logo Left Menu Below.

    Die Grundausrichtung des Headers und des Menüs muss einmal passen, sonst wird es etrem schwierig, nur mit CSS etwas zu machen.

    Die Probleme die Du oben ansprichst resultieren aus deinen CSS.

    ad 4)

    Viele Probleme mit nicht funktionierenden CSS resultieren aus Selektoren, die nicht spezifisch genug sind und durch andere dann überschrieben werden (diese können durchaus auch vorher geladen werden). Näheres dazu findest Du auf den entsprechenden Seiten im Internet.

    Styles.css und Einträge in Quick CSS werden als letztes geladen.

    ad 1)

    Das ist wie dieses Element (Blogpost) definiert ist. Falls Du da etwas ändern möchtest, musst Du die Datei enfold\config-templatebuilder\avia-shortcodes\blog.php und enfold\includes\loop-index.php bearbeiten.

    ad 2)

    Dafür müsste die Datei enfold\tag.php zuständig sein.

    ad 3)

    Dies wird über enfold\archive.php gesteuert. Am einfachsten mit CSS ausblenden.

    Hoffe, das hilft einmal weiter.

    LG,
    Günter

    #863119

    Hey elbnetz,

    Thank you for using Enfold.

    Please edit the archive.php and tag.php file, look for the following line of codes.

    $atts   = array(
                                    'type' => 'grid',
                                    'items' => get_option('posts_per_page'),
                                    'columns' => 3,
                                    'class' => 'avia-builder-el-no-sibling',
                                    'paginate' => 'yes',
                                    'use_main_query_pagination' => 'yes',
                                    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() )
                                );
    

    Add the “contents” parameter then set it to “excerpt_read_more”.

    $atts   = array(
                                    'type' => 'grid',
                                    'items' => get_option('posts_per_page'),
                                    'columns' => 3,
    				'contents' => 'excerpt_read_more',
                                    'class' => 'avia-builder-el-no-sibling',
                                    'paginate' => 'yes',
                                    'use_main_query_pagination' => 'yes',
                                    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() )
                                );

    Best regards,
    Ismael

    #859661

    Can this solutions also be applied to the tag.php file? I would like to show just excerpts on my tag pages. We use the tags extensively in our blog.

    Here is the example page that is showing full story.

    http://blog.bodybio.com/tag/alzheimers/

Viewing 30 results - 31 through 60 (of 127 total)