We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11316
    • 81 Posts
    having trouble getting these to display in the page <h3>[+wp_month+] [+wp_year+]</h3>

    No month or year shows up. Anyone else having this?
      • 12379
      • 460 Posts
      My archive page has the following:
      <h2 class="archive">Archive: [+wp_month+] [+wp_day+] [+wp_year+]</h2>
      
       [[Ditto? &parents=`2` &id=`wp` &extenders=`dateFilter` &display=`6` &filter=`id,16,2` &dateSource=`createdon` &dateFormat=`%A, %B %d %Y  at %l:%M %p` &tpl=`blog_post_summary_tpl` &depth=`3` &paginate=`1` &paginateAlwaysShowLinks=`1` &hideFolders=`1` &seeThruUnpub='1' &sortDir=`DESC` &filter=`id,16,2|id,21,2`]]


      And the doc pointing at the archive page:

      [!Reflect? &id=`wp` &config=`wordpress` &targetID=`16` &getDocuments=`1` &dittoSnippetParameters=`parents:2|depth:3|hideFolders:1|seeThruUnpub:1` &monthSortDir=`DESC` &tplContainer=`blog_archive_container_tpl`!]


      I’d say your Ditto call is missing &id=`wp` ...
        Mostly harmless.
        • 11316
        • 81 Posts
        Thanks for the reply I do have the following setup, so I am still a little baffled.

        [!Ditto? &id=`cv` &parents=`11` &extenders=`dateFilter` &depth=`2` &tpl=`ClientNewsTpl` &tplLast=`ClientNewsLastTpl` &showInMenuOnly=`1` &orderBy=`pub_date DESC` &dateSource=`pub_date` &dateFormat=`%b %d, %Y` &filter=`newsType,coverage,7`!]
        
        [!Reflect? config=`wordpress` &targetID=`190` &getDocuments=`1` &dittoSnippetParameters=`parents:11|depth:2|sortBy:pub_date|showInMenuOnly:1|filter:newsType,coverage,7` &dateSource=`pub_date` &id=`cv`!]
        
        On the reflect page:
        [+cv_month+] [+cv_day+] [+cv_year+]
        


        Maybe it’s because I am using a custom date setup? Who knows but thanks for replying.

          • 12379
          • 460 Posts
          Yeah, possibly. Maybe strip ’em out and see if it works in Ditto’s default date mode?
            Mostly harmless.