最近搜索


没有最近搜索

Courtney Diaz's Avatar

Courtney Diaz

已加入2023年8月16日

·

最后活动2023年8月18日

关注

0

关注者

0

活动总数

7

投票

0

订阅

1

活动概览

的最新活动 Courtney Diaz

Courtney Diaz 进行了评论,

社区评论 Q&A - Help center and community

Ifra Saqlain unfortunately, our sites are not public. I would need to have you registered, and it may kick you out as these are sites that are for our current client base, and if your email domain doesn't authenticate against a registered domain, it won't let you in. I greatly appreciate all of your help thus far. 

查看评论 · 已于 2023年8月18日 发布 · Courtney Diaz

0

关注者

0

投票

0

评论


Courtney Diaz 进行了评论,

社区评论 Q&A - Help center and community

Hi Ifra Saqlain, I did add the script you provided, but it is still pulling in every section title, not just the titles for the promoted articles. 

查看评论 · 已于 2023年8月18日 发布 · Courtney Diaz

0

关注者

0

投票

0

评论


Courtney Diaz 进行了评论,

社区评论 Q&A - Help center and community

Hi Ifra Saqlain, I greatly appreciate the code provided. However when I replaced the previous code with it (which is working, so again thank you!), it is now pulling in every section title, not just the titles for the articles that are being promoted. Which is creating a MASSIVE list on he homepage.

Any way to limit it to only the titles that are associated to a promoted article? Thanks

查看评论 · 已于 2023年8月18日 发布 · Courtney Diaz

0

关注者

0

投票

0

评论


Courtney Diaz 进行了评论,

社区评论 Q&A - Help center and community

Ifra Saqlain Thank you so much! Here is the current code string, I may have copied some extra, but here is what appears between the two areas on our home page. 

{{#is settings.toggle_promoted_articles 'yes'}}

     
       

Promoted Articles

       
          {{#each promoted_articles}}
           
           
           

{{excerpt body characters=50}}

          {{/each}}
         
       
     
      {{/is}}
     
     {{#is settings.toggle_category_tree 'yes'}}
     
        {{#each categories}}
         
            {{#if ../has_multiple_categories}}
             

                {{name}}
             
            {{/if}}
 
           
              {{#each sections}}
               
                 

                    {{#if internal}}
                     
                    {{/if}}
                    {{name}}
                 
                  {{#if articles}}
                   
                          {{#each articles}}
                           
  •                           {{#if promoted}}
                               
                              {{/if}}
                              {{title}}
                           
                          {{/each}}
                       
                        {{#if more_articles}}
                         
                            {{t 'show_all_articles' count=article_count}}
                        {{/if}}
                      {{else}}
                       

                          {{t 'empty'}}
                       

                      {{/if}}
                   
                  {{else}}
                   
                     

                        {{t 'empty'}}
                     

                   
                  {{/each}}
               
     
                {{#if more_sections}}
                 

                    {{t 'see_all_sections'}}
                 

                {{/if}}
             
            {{/each}}
         
          {{/is}}
     
       

        {{/if}}

    查看评论 · 已于 2023年8月17日 发布 · Courtney Diaz

    0

    关注者

    0

    投票

    0

    评论


    Courtney Diaz 进行了评论,

    社区评论 Q&A - Help center and community

    Ifra Saqlain Apologies for the additional questions, and I GREATLY appreciate the additional code. I am not a coder by any means, so would this code you provided need to replace the current code or would this just need to be added? 

    查看评论 · 已于 2023年8月17日 发布 · Courtney Diaz

    0

    关注者

    0

    投票

    0

    评论


    Courtney Diaz 进行了评论,

    社区评论 Q&A - Help center and community

    I was trying to have the section title appear above the linked article title. Similar to a section title that appears on a 'Trending in Community' post on the homepage.

    查看评论 · 已于 2023年8月16日 发布 · Courtney Diaz

    0

    关注者

    0

    投票

    0

    评论