AdvancedPublisher comprises of 5 different stacks; a base stack, days, weeks and time stacks and a secret stack for query strings. Each can be easily dragged and dropped into a webpage, with additional stacks nested within. Settings in the stacks side panel make it easy to configure your AdvancedPublisher stacks and clear instructions are displayed in edit mode to help you. An unlimited number of AdvancedPublisher time and secret stacks can be used on the same webpage.

"AdvancedPublisher has revolutionized how I use RapidWeaver. I can use this stack at the start of a semester to schedule the release of course material and quizzes for my students each week. Rather than having to edit the website late on a Sunday night to have the correct content in place for Monday morning, AdvancedPublisher automates the entire process for me. The content my students need to access is always available at the time I set. AdvancedPublisher is the sole reason I continue to use RapidWeaver for managing my website." - Brian

This is a great upgrade if you've already been using our free Expiry or QueryDisplay stacks. AdvancedPublisher has many, many more options to configure the display of content. Plus more supported content types.

The AdvancedPublisher stacks use PHP code to regulate what content is shown to the website visitor. This all works server-side; rather than client-side (as would be the case with Javascript). The clear benefit of this system is that the control of content happens before the webpage even begins to download. So you are not wastefully serving content the end user cannot see, and nor can the end user inspect the page source code to see the hidden content!

Example

Here are some really simple examples of AdvancedPublisher displaying content on different days and weeks:
Today is Saturday
It is the weekend, so this text is going to be displayed on Saturday and Sunday
This content is only going to be shown on odd weeks
 
It is strongly recommended that you download the free demo version of AdvancedPublisher. This will let you install the stacks and play around with all the settings yourself. You will probably be very impressed with how flexible the stacks are. An enormous amount of control is provided on when content is shown or hidden.

Please note that AdvancedPublisher requires a minimum of Stacks 3.5. The AdvancedPublisher stacks will not be shown and won't function in older versions of Stacks.

Setup

Follow these instructions for getting AdvancedPublisher stacks working in your projects:
  1. Once installed into Stacks and RapidWeaver, open the Stacks library and search for 'advanced publisher'
  2. Drag and drop a copy of the AP Base stack into your page*
  3. Click onto the RapidWeaver Page Inspector and confirm that the page has an extension of .php
  4. Continue to add one or more other AdvancedPublisher stacks to your page - like AP Days, AP Secret, AP Time or AP Weeks
  5. Within the AP Days, AP Secret, AP Time and AP Weeks stacks, you can customise when the content is to be shown, within the Stacks side panel. In some instances it is possible to display alternative content, outside of the specified date ranges
  6. Preview your page in RapidWeaver to test the content is showing correctly, at the specified time. Publish when done.

*If you find it easier, you can setup the AP Base stack as a 'partial'. Then this stack can be added on every page of your website. The settings applied on one page will be applied to other pages. Only add a single AP Base stack on each page.

AdvancedPublisher uses PHP code to regulate what content is shown. PHP has zero effect on SEO or page loading speed. The .php extension applied onto the end of the page simply tells the web server that there is PHP code within the page that needs to be processed. This processing happens before the page begins to download. RapidWeaver will attempt to alert you, if you have conflicting PHP and HTML pages on the web server. However if you find your AdvancedPublisher stacks are not visible on the web server, this may indicate you're still seeing the deprecated .html version of the page. In which case, you will need to login with your FTP app and manually delete the old page.

Other than the AP base stack, there are no limits imposed on how many AdvancedPublisher stacks you use within a page. To keep your workspace tidier, you can nest multiple AdvancedPublisher stacks within column stacks, and toggle the display of the column stacks to 'hidden'.

AdvancedPublisher stacks carry no style settings. Instead AdvancedPublisher is developed with the intention that you optional apply backgrounds, borders, layout or responsive display to either the container you nest AdvancedPublisher stacks within or to the stack elements you place inside AdvancedPublisher stacks. AdvancedPublisher works to simply regulate the display of content.

The conditional display of content and stacks within AdvancedPublisher happens server-side. So in theory all simple stack types should work fine within AdvancedPublisher. This is especially true of styled text, columns, grids, tables, galleries, images, audio and video. However more complex stack types may work less reliably. Use the free demo version provided to test compatibility with different stack types yourself, before committing to a purchase. You should be able to see the compatibility of stacks within RapidWeaver preview.