Support » Plugin: AMP » Is this Website is amp Compatible?

Viewing 10 replies - 31 through 40 (of 40 total)
  • adil1641

    (@adil1641)

    Hi @westonruter , I have three questions
    1) Currently Amp Plugin supports which pages right now.
    I means blog listing, blog detail, product listing or product detail or any other pages? Please tell me that currently in wordpress Amp plugin will support how much pages or amp plugin is compatible with how much pages right now?
    Client is asking about this things. He is asking that how much pages should we make compatible according to amp plugin. Please tell me about this thing so that i will update him.

    2) In this link, http://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp
    when i subscribe the newsletter in the footer, then this message appears
    “It appears your submission was successful. Even though the server responded OK, it is possible the submission was not processed. Please contact the developer of this form processor to improve this message. Learn More”
    From where i can change that message.

    3) http://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp
    on this link, There is spacing in start of page and end of page. From where it can be fixed?

    Please guide me about these three things

    • This reply was modified 2 months ago by adil1641.
    • This reply was modified 2 months ago by adil1641.
    Plugin Author Weston Ruter

    (@westonruter)

    1) Currently Amp Plugin supports which pages right now.
    I means blog listing, blog detail, product listing or product detail or any other pages? Please tell me that currently in wordpress Amp plugin will support how much pages or amp plugin is compatible with how much pages right now?
    Client is asking about this things. He is asking that how much pages should we make compatible according to amp plugin. Please tell me about this thing so that i will update him.

    It depends on your theme. If a theme is AMP-compatible, all template types are supported.

    2) In this link, http://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp
    when i subscribe the newsletter in the footer, then this message appears
    “It appears your submission was successful. Even though the server responded OK, it is possible the submission was not processed. Please contact the developer of this form processor to improve this message. Learn More”

    Click the “Learn more” link to find out why that message is being displayed and what can be done to fix it.

    adil1641

    (@adil1641)

    Is there any demo from where i can see the live example or you can please guide me what to do with that?
    Which code i need to use for form and in which place this code will be applied. currently this plugin is using for this newsletter
    https://wordpress.org/plugins/newsletter/

    Please guide me for amp version which code should i copy and where it should be paste?

    • This reply was modified 2 months ago by adil1641.
    • This reply was modified 2 months ago by adil1641.
    Plugin Author Weston Ruter

    (@westonruter)

    It depends on the code that you’re using to handle the newsletter subscription submissions. The above documentation should have all you need.

    adil1641

    (@adil1641)

    Currently this plugin is using for this newsletter
    https://wordpress.org/plugins/newsletter/

    Please guide me for amp version which code should i copy and where it should be paste?

    Plugin Author albertomedina

    (@albertomedina)

    The Newsletter plugin is not fully AMP compatible as it uses Javascript. Unfortunately we cannot provide support on fixing specific plugins in general. Please reach out to the creators of that plugin and request support for AMP compatibility.

    adil1641

    (@adil1641)

    Hi, this code is currently using for this newsletter sign up
    if($_POST[‘val’])
    {
    global $var;

    $sql = “SELECT * FROM “.$var->prefix.”newsletter WHERE VAL='”.$_POST[‘val’].”‘”;

    $user = $var->get_row($sql);
    if($user)
    {
    echo'<p style=”color:#f00″ id=”subscribe”> You have already subscribed</p>’;
    }
    else
    {

    global $var;
    $var->insert($var->prefix.”newsletter”,array(‘val’=>$_POST[‘val’]),array(‘%s’,’%s’));
    echo'<p style=”color:#f00″ id=”subscribe”> You have successfully subscribed</p>’;

    }
    }

    This is demo code. Please guide me should i need to embed amp code according to this or i need to contact newsletter plugin support

    adil1641

    (@adil1641)

    Hi @albertomedina @westonruter , Please guide me about the above code.

    I have also one question. Please see this link
    http://creativesystems.0438cfd.netsolhost.com/?amp
    This page has issue due to custom scripting. You also said that amp does not allows custom scripting. So you are saying that I can use amp script and amp components. So I need to add this amp script and amp components in the main template file. Will Amp components and scripts will work for both non-amp version as well. Am I Right?

    Please tell me that I can add this amp components and amp script in the main template file which is for home page. should this be doable can i add manually amp components in the wordpress template file. Please tell me about this thing.

    Please guide me about all above questions?

    adil1641

    (@adil1641)

    Hi @albertomedina @westonruter , I have 6 questions

    1) this code is currently using for this newsletter sign up
    if($_POST[‘val’])
    {
    global $var;
    
    $sql = “SELECT * FROM “.$var->prefix.”newsletter WHERE VAL='”.$_POST[‘val’].”‘”;
    
    $user = $var->get_row($sql);
    if($user)
    {
    echo'<p style=”color:#f00″ id=”subscribe”> You have already subscribed</p>’;
    }
    else
    {
    
    global $var;
    $var->insert($var->prefix.”newsletter”,array(‘val’=>$_POST[‘val’]),array(‘%s’,’%s’));
    echo'<p style=”color:#f00″ id=”subscribe”> You have successfully subscribed</p>’;
    
    }
    }
    
    This is demo code. Please guide me should i need to embed amp code according to this or i need to contact newsletter plugin support
    
    2) Please see this link
    http://creativesystems.0438cfd.netsolhost.com/?amp
    This page has issue due to custom scripting. You also said that amp does not allows custom scripting. So you are saying that I can use amp script and amp components. So I need to add this amp script and amp components in the main template file. Will Amp components and scripts will work for both non-amp version as well. Am I Right?
    
    Please tell me that I can add this amp components and amp script in the main template file which is for home page. should this be doable can i add manually amp components in the wordpress template file. Please tell me about this thing.
    
    3) Please see the both links in mobile.
    http://creativesystems.0438cfd.netsolhost.com/  This is non-amp version for mobile.
    
    http://creativesystems.0438cfd.netsolhost.com/category/creativesystem-blog/?amp This is amp version for mobile.
    
    Both have different mobile menu.  
    For amp version, I have applied this code in header.php
    <amp-sidebar id='sidebar' side='right' layout='nodisplay'>
      <form class="menu-layer primary" action="/" target="_top">
        <!--<button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>-->
        <button type="reset" role="button" aria-label="close sidebar" on="tap:sidebar.toggle" tabindex="0" class="close-button">✕</button>
        <div class="items sideNavi">
        	<a href="#">Home</a>
    		<label class="menu-item item-layer-1 has-sub-level active"><input type="checkbox">
                About Us
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
                    <a href="#">About Us</a>
                    <a href="#">Online Store</a>
                    <a href="#">Safety Inspections</a>
                </div>
              </div>
            </label>
    		<label class="menu-item item-layer-1 has-sub-level active"><input type="checkbox">
                Contact Us
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
                    <a href="#">Contact Us</a>
                    <a href="#">FAQ</a>
                    <a href="#">Career Opportunities</a>
                    <a href="#">Installer/Distributor</a>
                    <a href="#">Quote Request</a>
                </div>
              </div>
            </label>
            <label class="menu-item item-layer-1 has-sub-level active"><input type="checkbox">
                Site Map
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
                    <a href="#">Site Map</a>
                </div>
              </div>
            </label>
            <a href="#">Blog</a>
    		 <label class="menu-item item-layer-1 has-sub-level active"><input type="checkbox">
            Categories
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    
            	<label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Playgrounds
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="https://creativesystems.myshopify.com/collections/in-stock">In Stock</a>
    				<a href="https://creativesystems.myshopify.com/">Commercial Playground Equipment</a>	
    				<a href="https://creativesystems.myshopify.com/collections/ultra-play">Preschool Playground Equipment</a>
                    <a href="#">Outdoor Playground Equipment</a>
    				<a href="https://creativesystems.myshopify.com/collections/play-structures-with-shades-race-car-series">School Playground Equipment</a>	
    				<a href="https://creativesystems.myshopify.com/collections/complete-playground-areas">Complete Playground Areas</a>
                    <a href="https://creativesystems.myshopify.com/collections/2017-back-to-school-sale">Fall Into Winter Sale</a>
    				<a href="https://creativesystems.myshopify.com/collections/ages-5-to-12">Ages 5 to 12</a>	
    				<a href="https://creativesystems.myshopify.com/collections/ages-2-to-5">Ages 2 to 5</a>
                    <a href="https://creativesystems.myshopify.com/collections/ages-2-to-12">Ages 2 to 12</a>
                    <a href="https://creativesystems.myshopify.com/collections/nexus-series">Active Play</a>
                    <a href="https://creativesystems.myshopify.com/collections/nature-tree-series-winter">Nature Tree Series</a>
                    <a href="https://creativesystems.myshopify.com/collections/jungle-theme">Jungle Systems</a>
                    <a href="#">Recycled Plastic</a>
                    <a href="https://creativesystems.myshopify.com/collections/race-car-series">Race Car Series</a>
                    <a href="https://creativesystems.myshopify.com/collections/play-paradise-series-winter">Paradise Series</a>
    			</div>
              </div>
            </label>
    		
    		 <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Safety Surfacing
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">Safety Surfacing</a>
    				<a href="#">PlayGuard</a>	
    				<a href="#">Poured-In-Place</a>
                    <a href="#">Wood Fiber</a>
    				<a href="#">Artificial Turf</a>	
    				<a href="#">Playground Turf</a>
                    <a href="#">PIP Maintenance</a>
    				<a href="#">Rubber Mulch</a>	
    			</div>
              </div>
            </label>
    	     <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Sports / Fitness
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">Sports / Fitness</a>
    				<a href="#">Basketball</a>	
    				<a href="#">Soccer</a>
                    <a href="#">Volleyball</a>
    				<a href="#">Outdoor Fitness</a>	
    				<a href="#">Fitness Course</a>
    			</div>
              </div>
            </label>
            <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Site Furnishings
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">Site Furnishings</a>
    				<a href="#">Hamilton Collection</a>	
    				<a href="#">Palmetto Collection</a>
                    <a href="#">Lexington Collection</a>	
    				<a href="#">Savannah Collection</a>
                    <a href="#">Charleston Collection</a>	
    				<a href="#">Premium Recycled Collection</a>
                    <a href="#">Richmond Collection</a>	
    				<a href="#">Augusta Collection</a>
                    <a href="#">Thermoplastic Benches</a>	
    				<a href="#">Traditional Benches</a>
                    <a href="#">Umbrellas</a>	
    				<a href="#">Grills</a>
                    <a href="#">Crowd Barriers and Lantern Posts</a>	
    				<a href="#">Golf</a>
                    <a href="#">Ash Tray</a>	
    				<a href="#">Thermoplastic Tables</a>
                    <a href="#">Traditional Tables</a>	
    				<a href="#">Early Childhood Tables</a>
                    <a href="#">Early Childhood Benches</a>	
    				<a href="#">Premium Receptacles</a>
                    <a href="#">Traditional Receptacles</a>
                    <a href="#">Classic Receptacles</a>	
    				<a href="#">Planters</a>
                    <a href="#">Lids</a>	
    				<a href="#">Liner</a>
                    <a href="#">Bike Racks</a>	
    				<a href="#">Bollards</a>
    			</div>
              </div>
            </label>
            <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Shade Structures
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">Shade Structures</a>
    				<a href="#">Fabric Shades</a>	
    				<a href="#">Metal Shades</a>
                    <a href="#">Commercial Umbrellas</a>
    				<a href="#">Modular Shades</a>	
    			</div>
              </div>
            </label>  
            <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			New Products
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">New Products</a>
    				<a href="#">DuraTurf with CoolYarn</a>	
    				<a href="#">Jungle Systems</a>
                    <a href="#">Modular Shades</a>	
    				<a href="#">Oasis Series</a>
                    <a href="#">Space Playground</a>	
    				<a href="#">Water Play</a>
                    <a href="#">Urban Nest</a>	
    				<a href="#">PlayGuard Rubber Surfacing</a>
                    <a href="#">Xccent Play</a>	
    				<a href="#">Nature Series</a>
                    <a href="#">300 Series</a>	
    				<a href="#">Jungle Series</a>
                    <a href="#">Woody Series</a>	
    				<a href="#">X-net Series</a>
                    <a href="#">Robiniastory I Series</a>	
    				<a href="https://creativesystems.myshopify.com/collections/quick-ship">2017 Quick Ship</a>
                    <a href="#">Big Tree Playground</a>	
    				<a href="#">Combination Series</a>
                    <a href="#">Forest Playground</a>	
    				<a href="#">Future Playground</a>
                    <a href="#">Summit Dome Series</a>	
    				<a href="#">New Benches</a>
                    <a href="#">New Shades</a>	
    				<a href="#">Robiniastory II Series</a>
    			</div>
              </div>
            </label>    
            <a href="https://creativesystems.myshopify.com/">Catalogs</a>
            <label class="menu-item item-layer-1 has-sub-level"><input type="checkbox">
    			Resources
              <div class="submenu menu-layer secondary">
                <div class="return-button">Back</div>
                <button type="reset" class="close-button" id="menu-button" on='tap:sidebar.toggle'>X</button>
                <div class="items">
    				<a href="#">Resources</a>
    				<a href="#">Build a Playground Toolkit</a>	
    				<a href="#">Equipment Financing</a>
                    <a href="#">Infographics</a>
    				<a href="#">Videos</a>	
    				<a href="#">Articles</a>
                    <a href="#">Industry Resources</a>
    			</div>
              </div>
            </label>   
            <a href="https://creativesystems.myshopify.com/">Online Store</a>    
                </div>
              </div>
            </label>
    
       
        </div>
    </form>
    </amp-sidebar>
    
    There is one issue, I want that for non-amp version different mobile menu will show and for amp version, different mobile menu will show. You can check on both links on mobile with two menu buttons. Please guide me about this issue
    
    4) I have implemented API in this website but on this link api is not working
    http://creativesystems.0438cfd.netsolhost.com/shop/ul-k5010x1e/?amp
    
    5) Is there any option in this plugin that “/?amp" will not show on all pages. 
    
    You can disable AMP for those templates by unchecking the “Serve all templates as AMP regardless of what is being queried.” checkbox on the AMP settings screen. You can then decide which specific templates to serve AMP on. For posts/pages, you can also disable on a per-URL basis via the “AMP enabled” toggle.
    
    For post and pages, I will have to disable amp one by one by opening each page in admin bar? Am I right? 
    
    6) Please see this link, there are still "/?amp" link is showing on main logo and tellno. From where i can change this? 
    http://creativesystems.0438cfd.netsolhost.com/shop/ul-k5010x1e/?amp

    Please guide me about all above 6 questions?

    • This reply was modified 2 months ago by adil1641.
    • This reply was modified 2 months ago by Jan Dembowski.
    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @adil1641 I have removed your replies and flagged your account temporarily. That just means that your post will need to be approved and @ notifications from you will not work.

    Stop @’ing users. Stop bumping your topics. This is too much, that’s enough.

    If you need to contact the moderators about this then you can do so via the Slack #forums channel.

    To use that channel you need a Slack account. You can obtain one via these instructions.

    https://make.wordpress.org/chat/

Viewing 10 replies - 31 through 40 (of 40 total)
  • You must be logged in to reply to this topic.