Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Since your pages are just html nothing is stopping you from editing it to replace the icons with img elements. Even further, I enclosed my elements in a div with 15px padding, gave both a border radius so as to create a background border (like a porthole). I didn’t end up actually keeping these on my webpage, but if you can’t figure out how to edit html w3schools had some good starter material in order to get you going, and there are plenty of other online resources you can use. Good luck!

    I use just the built-in phpmyadmin export to export my [prefix]_db and also make a separate backup for the posts table. In addition, I use CPanel to make the same but gzipped because restore from backup is easier. Regardless, both of these backups ensure that I have access to my data, which personally I find more important than ease of use (I don’t have to play by anyone else’s rules), but I can see why this solution may not fit everyone else. Personally, I only use the absolute bare-minimum of plugins if I can help it. You wouldn’t rent a Uhaul for a single cardboard box, or rent a limo to drive to the bank; often times, less can be more. Each plugin populates your database and disk and if you, like me, want to shrink your database from 30MB to 3MB, you run the risk of dropping your entire database, also like me twenty minutes after I wrote my original post. In said case, I couldn’t get my backups to work, but manually created them from information stored in my backups. An edge case? Sure, but what if I couldn’t restore from backup through plugin?
    IMO & tl;dr If you can access your databases directly, export copies, at least twice a week. Do your Home Directory once a week. Any plugin that requires you to be logged in to worpress (i.e. isn’t easily accessible as .sql or .sql.gz files on your hard disk) then I’d look for a new plugin ASAP.

    Sidenote: Yoast doesn’t hang anymore, not sure why.

    As far as I know optimize always hangs on the last table (mines a yoast table, not many tables in the y-z range). If your behavior is like this you *should* be fine, although I’d check if the table you’re hanging on is indeed the last one. Could always be a plugin conflict though. Hopefully you backup your database before and after each run. For example, I make backups at least 4 times a week, they shouldn’t take you more than 5 minutes at maximum and that would be for a database much larger than the average site (My database is 3 MB and with a 10MB/s I’m done before I know it, whereas a 500MB site at 1 MB/s would have to wait around 8 minutes).

    I’m going to agree with Jan here. You claim that it’s a bad business practice to doubt your customers when you have “if only it didn’t break everything” in your subject line and gave a one star for something that was your own fault. This is not how you begin a good relationship with the developers of a theme. A little courtesy can go a long way.

    Thread Starter dragozir

    (@dragozir)

    Forgot to mention: this is the second instance of this happening, where changing assets in WP Asset CleanUp has caused my Autoptimize css cache to update (good!) and my idx pages to break (bad!). I’m thinking about adding some custom js to my page template as a fallback like the following pseudocode

    if (document.getElementByID('mySheet').cssRules != null)
        var sheet = document.createElement("link");
        sheet.rel ="stylesheet";
        sheet.href ="/my/absolute/path.css"
        link.id="mySheet"
        document.GetElementsByTagName("head")[0].appendChild(sheet);
        // recurse with a console.log to verify

    which is dumb bloated boilerplate I want to avoid, and the fact that it’s going to make my idx pages have higher loads times, although less downtime, is something I’m heavily considering it since it would at least keep the site usable for those edge cases.

    Thread Starter dragozir

    (@dragozir)

    I prefer CLI but I am new to this particular work environment which I hope explains my caution. Additionally I am the most experienced in web development which means any issues I run into will be my responsibility. Hopefully my host enables SSH sometime this year. Thank you for the help!

    Thread Starter dragozir

    (@dragozir)

    I missed the bit about emergency.php my first go around. While I will use phpMyAdmin when I login, I also learned something new today, so thank you.

    There are a few solutions. The first is probably not as easy but it is the one I have chosen to implement.
    PHP:

    1. In your File Explorer, Navigate to mesmerize\template-parts\header\hero\*yourherotypehere*
    2. For my website I am currently using the hero-content-on-center.

    3. Open the respective .php file and navigate to where it says <?php mesmerize_print_header_content(); ?>, which should be line 4.
    4. Delete this line replace it with whatever html elements you want, with whatever style you choose.
    5. Example:
      <p style=”color:white;font-size:30px;”>Look at me!</p>
      Editing your parent theme however is not my recommendation. I implemented this version to put things other than text in my hero. What I recommend is editing the CSS.

    CSS:

    1. Navigate to themes\mesmerize\style.css
    2. crtl+f “h1.hero-title” will bring you to line 5388
    3. (You can inspect all of your elements in your browser if you ever want to change other elements).

    4. Change CSS accordingly.
    5. This is definitely much safer and easier to keep a changelog of as your website is unlikely to break with CSS editing vs template editing. Good luck!

    • This reply was modified 6 years, 10 months ago by dragozir.
Viewing 8 replies - 1 through 8 (of 8 total)