Forum Replies Created

Viewing 15 replies - 106 through 120 (of 162 total)
  • Where is it exactly at the top of the page? For example on the Posts page in admin, is it the first thing under the word Posts?

    Can you access any of the broken image directly at the image URL in a browser?

    Until you find out the issue I reccomend switching cloudlfare to ‘development mode’, purging the cache at cloudlflare. Then open the site in Incognito mode. That wil rule out eveything cloudflare can optimise. If you have any caching plugins disable them all too. That’s all I can suggest without knowing any details.

    Do you use a content delivery network like cloudflare or jetpack? Do you know if you have any caching enabled with your host, or have caching set by your theme or plugin? Media suddenly appearing to vanish without user input is often a problem between those kind of services.

    Does loading the site on a differnet device or a browser mode like Chrome’s Incognito mode make a difference?

    Hi, it is worth checking all required PHP extensions are installed. This page sets out what is essential and what is optional: https://make.wordpress.org/hosting/handbook/server-environment/#php-extensions

    Sometimes you need to add these extensions yourself when switching between PHP versions. It can be very simple to do if you have a GUI like cPanel, but your host might be able to help if you do not.

    I have had some WordPress installs work on 7.4 and 8.1 but not 8.0, so it is worth quickly switching to 8.1 to test if you have the option.

    De nada.

    Are you telling me that there is no breadcrumb block?

    Sorry, I have no idea. Hopefully someone else can help. If I knew that I wouldn’t have make a custom function! Hopefully someone else can help. The solution offered uses plain PHP and core WordPress functions so doesn’t rely on anything that isn’t built in to WordPress.

    If you have access to your functions.php file, adding this snippet will give you a new shortcode [print_my_breadcrumb].

    Using this with the shortcode block will print a bradcrumb trail.

    function print_my_breadcrumb_shortcode() {
        // Get the global post variable
        global $post;
        // Get the home URL for the "Home" link in the breadcrumb
        $home = get_bloginfo('url');
        // Initialize the output variable with the "Home" link
        $output = '<a href="' . $home . '">Home</a>';
        // Check the current post type and add the appropriate links to the breadcrumb
        if (is_page() || is_single()) {
            // Add a link to the parent page
            $output .= ' / <a href="' . get_permalink($post->post_parent) . '">' . get_the_title($post->post_parent) . '</a>';
            // Add the current page title
            $output .= ' / ' . get_the_title();
        } elseif (is_category() || is_tax()) {
            // Add the current category or taxonomy title
            $output .= ' / ' . single_term_title('', false);
        } elseif (is_tag()) {
            // Add the current tag title
            $output .= ' / Tag: ' . single_tag_title('', false);
        } elseif (is_year()) {
            // Add the current year
            $output .= ' / ' . get_the_time('Y');
        } elseif (is_month()) {
            // Add the current month and year
            $output .= ' / ' . get_the_time('F Y');
        } elseif (is_day()) {
            // Add the current day, month, and year
            $output .= ' / ' . get_the_time('F j, Y');
        } elseif (is_author()) {
            // Add the current author name
            $output .= ' / Author: ' . get_the_author();
        } elseif (is_search()) {
            // Add the current search query
            $output .= ' / Search Results for: ' . get_search_query();
        } elseif (is_404()) {
            // Add a "404 - Page Not Found" message
            $output .= ' / 404 - Page Not Found';
        }
        // Return the breadcrumb trail
        return $output;
    }
    // Register the shortcode
    add_shortcode('print_my_breadcrumb', 'print_my_breadcrumb_shortcode');

    Widgets don’t work with the new(ish) block system, so the reason you found for them not showing is a genuine one.

    The functionality of the widgets can mimmicked with blocks, but if you prefer the old system and you have a theme that doesn’t rely on blocks, Worpress team members released a plugin that may restore the wiget functionality for you.

    The plugin is called “Classic Widgets”: https://wordpress.org/plugins/classic-widgets/

    By default WordPress does a fuzzy match on anything typed as a URL, you can turn this off by adding the following code to your functions.php file:

    add_filter( 'strict_redirect_guess_404_permalink', 'stop_the_fuzzy_redirects_please');
    
    function stop_the_fuzzy_redirects_please() {
      return true;
    }

    Source: https://developer.wordpress.org/reference/hooks/strict_redirect_guess_404_permalink/

    Hi

    Navigate the following clicks in this order…

    • Dashboard.
    • Appearance
    • Themes
    • Editor (Beta)
    • Click on the wordpress logo to expand the side menu
    • Templates
    • Single

    You should now have a sore finger but be rewarded with template for Single pages. This template is used on all static pages on your site (not the blog posts)

    You should see a block with the large text that says “Post Title”. When this is loaded on each page it updates to whateve the title of the page is. If you don’t like this, just delete the block.

    You can replace it with whatever you want. Don’t delete the block under it with “post content” or your pages will be blank! The image placeholder at the top is your site header image.

    For (1) You could use a plugin like https://wordpress.org/plugins/if-so/ to only show the page if a user is logged in.

    I should have mentioned, you can show and hide Divi modules based on logged in status. Go to any module’s options, Advanced>Conditions>Display Contitions>User Logged In

    Hi,

    You could split the main problem into two, (1) the privacy requirement and (2) an accessible and easy to use gallery.

    For (1) You could use a plugin like https://wordpress.org/plugins/if-so/ to only show the page if a user is logged in.

    For (2), It would be just a matter of trying different gallery plugins to find one, but if i was using Divi’s own gallery module, I would just put each gallery on its own page, then make a single page to serve as the galleries home page. This page would just be a grid of single images serving as gallery thumbnails, each one linking to the individual galleries.

    I would then add WordPress’s own comment section to that page for the ‘last words’ feature.

    There are lots of ways to do this but that would be my approach as it would minimise additional plugins and use the features you have.

    • This reply was modified 3 years, 3 months ago by pichichi.

    Not directly, but…

    Some hosting companies have a “staging area”, check to see if yours does. This is basically a copy of your site you can experiment with and it doesn’t affect your main site until you are ready to push the changes.

    Another way is to download your site and work on it on your computer. There are 2 main ways to do this, one is using containers (Search the web for WordPress and Docker) and the other is setting up a server on your computer, install WordPress and import your site (Search the web for WordPress and MAMP). Once you are happy you can either upload your new theme or the entire site you have on your computer. This can be quite daunting but you would learn lots of new skills.

    To explain the steps involved would be out of the scope of a reply, but those are the basics and should point you in the irght direction. MAMP and Docker are given as examples to point you in the right direction, these are not reccomendations to use those particular sevices.

    Yeah, pretty much. In Chrome, for example, the process is:

    • Right click and select “Inspect” to open developer tools
    • Right click on the element you want to find out more about and click “inspect”to get info on that element
    • You will see a css class pop up at your mouse position, this could be the class you are looking for.
    • I say could, becauce it is often then look at the Elements and Styles tabs of Developer tools and select parent and child DOM elements of the initial target to ensure you are targeting the correct element.
    • Using the Styles tab as a playground to test edits of CSS is a very fast way to test changes on the fly.

    Glad you sorted it!

    • This reply was modified 3 years, 3 months ago by pichichi.
Viewing 15 replies - 106 through 120 (of 162 total)