Search the Community
Showing results for tags 'meta'.
-
Hi folks, I just tried to export/import some pages with meta() data using the ProcessPagesExportImport module from the core. Unfortunately the data is not exported. Is there a way to migrate pages with meta data to a new pw installation? See the API docs for $page->meta() for more information. Since this is a relatively new addition it might not be possible yet without custom code. Since my new pagebuilder module uses the meta data to save the styling of pages I might develop something myself, just wanted to ask before..
-
I have been experimenting with the new $page->meta() method and find it useful. Once i figured out that the data i "save" with it is tied to the page where i called the method from. So this is not obvious at least not for me in the documentation: https://processwire.com/api/ref/page/meta/ So i just wanted to share that revelation with the community so you don´t get as confused as i was. Happy Coding Everyone.
-
In the new page-meta-method (https://processwire.com/blog/posts/pw-3.0.133/#comments) there is an example how to ouput "world". Could may someone give me a snippet of code so that the output is one of the colors (red, green, blue).
-
Hi, just a little note: In the text body of the notification Email the & gets & encoded. Would be nice if this could be fixed : ) I get: !!!!! https://processwire.com/talk/topic/15397-graphql-for-processwire/?do=findComment&comment=138055 Should be: https://processwire.com/talk/topic/15397-graphql-for-processwire/?do=findComment&comment=138055
-
Hi folks, Bit of an odd one... I'm adding some meta tags for Facebook and Twitter to the head.inc file and I'm trying to make the output per tag as global as possible. These are the tags I have so far: <meta property="og:title" content="<?php echo $page->title; ?>" /> <meta property="og:image" content="" /> <meta property="og:url" content="<?php echo $page->url; ?>" /> <meta property="og:description" content="" /> <meta name="twitter:url" content="<?php echo $page->url; ?>"> <meta name="twitter:title" content="<?php echo $page->title; ?>"> <meta name="twitter:description" content=""> <meta name="twitter:image" content=""> As you can see I have a few obvious ones set up, but I'm curious to know how you all might think about outputting the image and description meta information? I'm thinking finding the first image on the page and the first text output on the page but that's a little tricky, isn't it? Do you think these should be set up as separate fields for pages within the CMS for the client to fill out as they fill out the pages... as part of the process for SEO? And if there's any tips to why using these tags are bad please do say so. Many thanks, R
-
Hey guys, now, I've been working with this beautiful CMS and am superhappy with it. Only one small problem. When I google my site, it shows this: https://www.google.nl/search?q=site%3Awww.marinusdebeer.nl The common result when you search on my name is that the title shows: "about" as page title in the results. Now, this is because this is the page I force the visitor to when they go to www.marinusdebeer.nl I did this in a script because I don't like to use a homepage/launch page. So it goes to the about page in a hardcoded php script. However, I want to keep the 'about' name in the page title, but is there a way I can edit meta data to make sure Google just shows a different page title, so that I can control how the title is displayed in Google? I have been googling about this, but it didn't show up any results I could use. Maybe I am searching with the wrong search queries. Soon I will start making the second site with ProcessWire, let's hope it goes as smooth as the first one I created Love, Marinus