ashish777
Forum Replies Created
-
Thank you for your great support. ?? @ampforwp
Right now, I am already using your specified idea.
In my case, I just want one of my URL to be NON-AMP. And for that one item I have to modify all the menu items and change them to custom link.Now, I have turned off the option “Auto add amp in menu url” and added all custom link menus with “/amp” as the last parameter.
The one I don’t want to link to amp is not a custom link item.Just for the one item, I have to edit all the links and it becomes a lengthy procedure.
It would be great if you provide some simple way for it.Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Multilingual support for ampHi,
Thanks for replying!It’s a bit funny, but I managed to solve these issues.
Just a thing that’s remaining is as below:
As you got that I am trying to build a new theme using ampForWP custom theme master plugin.
I made the home page as custom front page from admin side.
Everything is working fine.
Just the issue is that a “Blog’s” twitter meta and og meta descriptions are shown for home page. How can I acheive the exact homepage meta descriptions for custom front page? I used the yoast glue plugin but not got the proper result. (1st issue)Also as I am using WPML multilingual plugin I have two languages English and Spanish. The twitter and og meta descriptions always shows the same spanish description on all pages. (2nd issue)
Waiting for your reply!
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Multilingual support for ampI managed to resolve this issue.
Now a new issue is that I had added the ampForWp-custom-theme-master plugin.What if I want to create a new theme?
For instance, I edited the ampforwp_designing_custom_template function
in ampforwp-custom-theme.php and added few lines
1st I checked the slug. If it is blog I have loaded blog.php, created by me under templates directory where other templates like index.php, header-bar.php, etc. resides.Actually it loads my template, but there is continuous loading of page.
And when I comment following two lines
$this->load_parts( array( ‘style’ ) );
$this->load_parts( array( ‘header-bar’ ) );
the page is loaded, but I can’t see the header and css is not as applied per amp.Any solution for this one? ??