Forum Replies Created

Viewing 15 replies - 31 through 45 (of 162 total)
  • Hello, I think you are very close, in?page.php try replacing your code with:

    echo do_shortcode('[headertext]');

    Looks like “How i want it to Look” for me.

    Did you get it sorted? If not, what device are you seeing the big gap?

    Hi!

    To get rid of that advisory from Google, you just need to set an explicit height and width for each affected image. For example, for the first image the HTML is currently output like this in my browser:

    <figure style="text-align: center;">
      <img decoding="async" src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg" alt="Thuê xe máy Hà N?i" data-lazy-src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg?is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class=" jetpack-lazy-image"><noscript><img data-lazy-fallback="1" decoding="async" src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg" alt="Thuê xe máy Hà N?i" /></noscript>
      <figcaption>B?ng Giá Cho Thuê Xe Máy Tham Kh?o</figcaption>
    </figure>

    All you need to do is ensure a height and width (in pixels), is passed along, so for your first image, this would become:

    <figure style="text-align: center;">
      <img decoding="async" src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg" width="600" height="400"  alt="Thuê xe máy Hà N?i" data-lazy-src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg?is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class=" jetpack-lazy-image"><noscript><img data-lazy-fallback="1" decoding="async" src="https://motoopen.com/wp-content/uploads/2023/04/Cho-thue-xe-may-Ha-Noi.jpg" alt="Thuê xe máy Hà N?i" /></noscript>
      <figcaption>B?ng Giá Cho Thuê Xe Máy Tham Kh?o</figcaption>
    </figure>

    This can seem weird in 2023, when we all set height and widths by other methods, but that’s the way Google likes it and it also helps browser rendering as it reserves a space for the image while the page is loading, and also ensures the image displays at the correct aspect ratio.

    Hey,

    Best place to ask is the forum for your theme, there could well be some settings you can update without touching code. The forum is here: https://www.ads-software.com/support/theme/olsen-light/

    However, you can add this code to your custom CSS to get the desired result, but it would be best to do it through any options your Theme gives you.

    CSS:

    .site-bar {
        display: flex;
        flex-direction: column;
    }
    
    #footer .nav {
        text-align: center;
    }
    
    .site-bar .nav {
        width: 100%;
    }
    
    .site-tools {
        width: unset;
    }

    *Sorry, did not see the reply above*

    Best place to find out how to do this with your commercial theme is via their support, which seems to be: https://www.pipdig.co/shop/wordpress-theme-crystal/, as there might be a way to do this in your theme’s settings.

    However, you can add the following code to your custom CSS to change the size of the text, which in this case, will change the size of your button. If you want to make the text bigger or smaller, just change the number 16 in the example to something else. The current size on your site is 20.

    #mc4wp-form-1 input[type=submit]{
    	font-size:16px;
    }

    Here’s the forum for the Storefront theme, this would be the place most likely to be familiar with your set up: https://www.ads-software.com/support/theme/storefront/

    Yes sir. Understood sir.

    Can I humbly suggest to the commander that they consider that for someone that explicitly asked for “layman terms”, a single challenging technical step of changing the admin email might provide access to the WordPress dashboard, could provide a much more user friendly way to disable plugins and troubleshoot than expecting them to be able to understand error logs, edit core files and renaming folders on a server?

    So to the OP, you have a few options. If you manage to change your email and get access that way you can then start to troubleshoot through your dashboard. Here is a user firendly guide: https://kinsta.com/knowledgebase/there-has-been-a-critical-error-on-your-website/

    Of course an admin email address is not causing a critical error but if email is not one of the OPs problems then what else could “i cannot access the email linked to this account anymore” mean? Have I munsunderstood something?

    If you can’t access the email the only way in is to change the email address. In your situation, the only way to do this is by editing the wordpress database. If you are uncomfortable doing this it is best to contact your web host. If you want to do it yourself see step three here: https://www.wpbeginner.com/beginners-guide/how-to-change-the-wordpress-admin-email/

    Please backup your site before editing the database as it can seriously break your site

    I’m not sure what the issue is sorry, it looks like you followed dthe instuctions for external sites here: https://wordpress.com/support/follow-button/

    I would suggest asking for help in the Jetpack forum as someone may have had a similar experience https://www.ads-software.com/support/plugin/jetpack/

    You are welcome!

    I can see your button, top right of the sidebar. Try viewing your page in a private browsing mode like incognito, or clearing your browser history.

    URLs do not need to exist on your site to be reported in search console, it is common to find unknown URLs and not always a cause for concern, some examples:

    • Someone has linked to a non existent pages by mistake or making typos – remove the urls with the removal tool
    • You have errors in your sitemap – check the sitemap
    • The bots that crawled your site made an error – remove the urls with the removal tool
    • Some bad dudes are trying to harm your ranking by creating lots of links to no-existent pages which make Google think you have broken links. Check the referring sites and if you are 100% positive this is the case you can disavow these links – but please only do this after lots of research, it can really harm your ranking if done wrong. Link: https://support.google.com/webmasters/answer/2648487?hl=en

    Hi, every website is a target for hackers and a lot of these 404 errors are probably automated scripts scanning websites for specific files that are known to have vulnerabilities, or files that can let them know what your setup is.

    Make sure your WordPress is secure by following best practices (there are lots of guides for this on external websites) and keep your core files and your plugins up to date and you should be fine. It’s useful to follow the WordPress security bulletins and If you notice a lot of this traffic comes from specific countries or IP addresses you can block that with a firewall.

    The homepage is the only strange one, is it definatly your homepage or does the URL contain other characters?

    It looks like your code it being interpreted as plain text, I would try:

    • Check for syntax errors
    • Check there were no issues with pasting code such as hidden characters, apostrophes, brackets
    • Check the file you are working in is definatly a PHP file (I had assumed you were because you mentioned PHP).

    If you are not using PHP and want a front end solution, you can paste this JS snippet in a regular WP code block. You can use the documentation to modify:

    <script>
      const category_id = 6; // set the category ID
      const url = 'https://sisterSite.com/wp-json/wp/v2/posts?categories=' + category_id + '&per_page=10';
      fetch(url)
        .then(response => response.json())
        .then(data => {
          if (data.length > 0) {
            const titles = data.map(post => post.title.rendered);
            const titleList = document.createElement('ul');
            titles.forEach(title => {
              const listItem = document.createElement('li');
              listItem.innerText = title;
              titleList.appendChild(listItem);
            });
            document.body.appendChild(titleList);
          } else {
            console.log('Error retrieving posts');
          }
        })
        .catch(error => console.log(error));
    </script>
    
Viewing 15 replies - 31 through 45 (of 162 total)