Pro Header/Footer Change Based on Page ID?

Hello,

I have been searching the forums and cannot seem to find any help. I see the option to assign to Page (specific however when I select this the list that loads does not list all web pages in the site, it just loops a certain section of pages. Is there a way to use the Page ID numerical value to target what pages should have the Pro Header/Footer displayed?

Thank you in advance.

Hey @powersnw,

Thanks for reaching out!

If you want to assigned the header and footer using page ID, you can use the Number format.

The the condition is {{dc:post:id}} == your page ID

For example:

Hope that helps.

This worked like a charm, thank you. Last question, do I have to do a entry for each page or can I do a comma separated list by chance?

Hello @powersnw,

Since you have to define the page IDs, you will have to use the String condition instead.

Hope this helps.

I am sorry but switching to string with in doesnt seem to work correctly. It changes on the home page as well even though the home page is not defined in the string IDs. I added an

AND

statement and put the ID of the home page in the string values there and used

not in

as the designation. That seems to correct the issue. Is this correct?

Hey @powersnw,

Sorry for the confusion, since it’s a page number we need to use the Number format as I showed you up. Then to follow up with your question, you need to add an entry for each page.

Hope that helps.

Can you please check my previous message? I think I updated it when you were posting your comment.

Hey @powersnw,

The AND option will check if the two conditions meets the requirements. With that said, I highly recommend to follow on my previous response by using Numbers then use the OR option.

Hope that helps.

That is really unfortunate as there are hundreds of statements that need to be made now. Disappointing there is now way to do a string. If this can be added as a feature in the future I would assume it would help a lot of people with larger websites.

Hi @powersnw,

Surely, check with our development team, and if possible, we will add it as a feature request.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.