janthemanson Posted April 1, 2015 Share Posted April 1, 2015 (edited) Hey there, I'm looking for a variable to ask for page type like cms pages. I'm currently reviewing or meta tags. Here is what I've done so far: {if isset($page_name) && $page_name == "index"} <meta property="og:type" content="business.business" /> {/if} {if isset($page_name) && $page_name == "product"} <meta property="og:type" content="product" /> {/if} What I'm looking for is to make the meta property og:type "website" available on cms pages. Ideas anybody? Edited April 1, 2015 by janthemanson (see edit history) Link to comment Share on other sites More sharing options...
janthemanson Posted April 1, 2015 Author Share Posted April 1, 2015 Oh sorry, this was my fault. I've tested it with $page_name == "cms" and it worked. The same is available with categories I found out. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now