Wordpress Discussion

  • Started
  • Last post
  • 164 Responses
  • hotroddy0

    How can I edit the Visual Composer blocks of code found on a page?

    I want to swap out an image but I have no idea what to click on to get me to the darn area where I can swap.

    What do I need to click? I hate not being able to code it myself!!

    • install the clasic editor, images are only mentionned by # id.
      look for something like this : image="7004"
      Salarrue
    • thaks dude! that worked!hotroddy
  • Raybandana2

    I was using the admin panel in WordPress to increase the search query to over 200 displays per search result. But now if I try to access the page that I change the 200 displayed results, and WordPress crashes and displays.. "The site is experiencing technical difficulties. Please check your site admin email inbox for instructions."... Its seems I need to decrease the search result but can't access the page to do so!

    Here are the errors I found, but I don't know how to fix it! Any help would be amazing :) thanks

    • Option one. Increase memory limit. Second what has saved me. I go to phpmyadmin and change value there. Not sure if it works in your case.dpi
    • that error just says the file advanced-cache.php is missing, create the file or disable cacheing in wp-config like: define('WP_CACHE', false);kingsteven
    • DPI! You saved my life, I increase the memory limit in PLESK, and it was able to handle the 200 search results. Super thanks man!Raybandana
  • PhanLo1

    Been trying to update my site after a few years of not using Wordpress. Is Elementor worth adding to speed up design?
    I had a template before but it was so slow to load I gave up.

    Just want a really simple responsive site with masonry galleries.

    • Generally speaking, using elementor or a premade template have the same handicap: are aimed to be easy to use without technical knowledge, ...sr_rosa
    • ... and that usually comes at cost of a less optimized result, both in loading size and performance. That said, a portfolio is a special kind of site, ...sr_rosa
    • ... as people do not usually mind it being heavy. I would probably use flexbox instead of masonry for performance, but will not be exactly the same.sr_rosa
    • Beaver buiilder is a lighter weight builder. Avoid divi, that shit suucksmoldero
    • Cheers! I'll look at Beaver Builder too.
      Was tempted to go to Squarespace but they are so boring.
      PhanLo
    • I mean do you really need to add on a builder with the new Gutenberg/Blocks admin?webazoot
    • One of my WordPress developers just started using Elementor. He said it was the easiest and best thing that ever happened to WordPress.utopian
    • I'll have a look at the Gutenberg one, watching some tutorials i reckon i could build a simple enough one using that.
      Thanks again. :-)
      PhanLo
    • Gutenburg is shit, beaver #1, elementor #2 cause it outputs heavier pagesmoldero
    • Going to search for some beaver vids the night. I was trying out the Getwid template which loads faster than the old one.
      Added a simple gallery added onto that
      PhanLo
    • Thanks for all your help. Just being able to look out some alternatives saved a lot of stress.PhanLo
    • A good fast starter theme for beaver is astramoldero
    • You can create your own headers n footers w beaver themermoldero
    • Elementor is the first page builder I found to be worth using. It's quite minimal but also slickly designed and lots of functionality.yuekit
    • Having said that, these layout builder tools work best in conjunction with a custom coded theme IMO. Otherwise you are still just using a template.yuekit
    • Cheers guys, your info has been a great help. I'll look into Astra too Moldero.
      I cobbled together a site fairly quickly using Getwid as I'd totally wrecked my
      PhanLo
    • site, but I'll definitely have a look at the themes you've suggested.PhanLo
    • astra is dope because its blank, basically made for page builders, word is its the fastest theme yet for builders, I dig it, use it for all my sitesmoldero
    • Jumping in late here, but FWIW I use Astra and Beaver Builder on all my new projects now. Been running that setup for over a year. Dig it.nocomply
    • Cheers again for the extra suggestions. :-)PhanLo
  • _niko0

    I've taken over a site that has a bunch of galleries and images. The images were loaded in full size but the image size was capped in settings/media to 1024px max width.

    i changed the max setting to 3000px and when i load an image now it displays in the lightbox gallery as full size.

    Is there a plugin that will allow me to revert all images to their full size without having to re-upload everything again?

    They are all full size in the media library but not when displayed in the lightbox gallery (they get capped to the original 1024px width)

  • BusterBoy0

    I feel like a real NOOB. Had a super basic Wordpress site built for a client by a dude in India. All was fine. I need to make a really quick change to the site Footer...but can't figure out where the hell I can update it.

    I've gone into the Theme Editor area...trying to customise the Footer Bar...and whatever I change makes no difference.

    Have searched through all the site files to see if he hard coded the info and nothing.

    The footer just says Copyright 2020 and then the company name...which I need to change.

    The little bastard has gone missing, so I stuck and feeling like a dope. Any ideas appreciated.

    Yours sincerely
    Wordpress Nuffie

    • Hard to say without seeing how it is built.
      A) If hardcoded you should probably look footer.php in theme folder.
      B) Sometimes could be also under Widgets
      dpi
    • C) Site title could be company name in footer.
      If you need more help give us some screenshots of theme folder setup and code inside footer.php
      dpi
    • if its a genesis framework it can sometimes be dynamically generated in the functions.php file.hotroddy
    • Thanks. I'll do a little more digging and see what I can find.BusterBoy
    • You've checked theres not a customisation setting for it in the admin itself somewhere.webazoot
    • Can't bloody find anything anywhere. The name in the footer isn't exactly the same as in Admin. Can't find any ref anywhere.BusterBoy
    • The site itself is really messy codewise...so god knows what the hell he's done. I'll have to wait I think.BusterBoy
    • Hidden stuff in the admin caught me out a few times. Can you download all the theme files via ftp and run a search through them?webazoot
    • Oh, see you did that already. Odd then.webazoot
    • As mentioned above, whats the footer code say in the area the text you want to change appears?webazoot
    • Did you inspect the element? Should tell you where the code is in the code?PhanLo
    • This is what sucks about WordPress, a million ways to potentially update something. Customize, theme settings, etc.yuekit
    • Download the whole site, do text search for the string/text. If you don't find it, dump the sql and search the text there, you'll find it.spot13
    • Replace it via CSS?OBBTKN
    • So I eventually found it.
      Templates - Theme Builder - Global Footer and it's in Elementor. Far out!
      Thanks one and all.
      BusterBoy
  • Salarrue4
  • BusterBoy-1

    Having a Wordpress site built for me at the moment...I've used a couple of different developers offshore to do it.

    Just noticed today, theres 50+ installations of a plugin "CMSmap - WordPress Shell".

    I've asked the developers and they don't know what these are.

    Anyone know? Hacked? If I just remove these plugins, is there something else I would need to do?

    There's no customer data or anything like that in the database at thos stage.

    • You should instal Wordfence to add a firewall, and also to scan for possible js injections.Salarrue
    • Ideally when working with offshore freelancers set-up a staging version of the site and ask them to add the code to child themes or custom extensionsSalarrue
    • https://blog.sucuri.…Salarrue
    • Bloatware is bloatedutopian
    • If you see "WP" and "shell" in the same sentence, it's malware.grafician
    • Use tf Kirby and forget about WP unless you do e-commerce, then use tf Shopifygrafician
    • Headless shopify at that, and Kirby for anything publishing https://getkirby.com…grafician
    • also if you manage WP, rename tf wp-login.php on the server, then un-name it when you need to logingrafician
    • I needed to ban China and Thailand at IP classes level to get rid of bots and malware at one point in WP...grafician
    • oh and check tf your DB too, the malware is in there too, you need to reinstall fresh everything after you get ownedgrafician
    • and it seems you got ownedgrafician
    • Shopify is OK, but with a custom set up you will pay way too much of what is possible with WPSalarrue
    • ^yupmoldero
    • monthlies for plugins? fuck off shopify! I like to own my platform, not rent itmoldero
  • dbloc1

    OK I am building a homebuilder website in Wordpress.
    There is a main corporate website, and each community will have a sub site. These sub-sites will all share the same design, but content and colors will change.

    I need to be able to pull content/styles from the corporate website to these sub-sites. These sub-sites will also have their own news section (blog posts)

    If I make an update to something on the corporate website, I want it to trickle down to to sub-sites.

    ------------------

    My question. Is using a child theme the best route for this? If so, is there a good tutorial out there on how to set up a child theme.

    • https://wordpress.or…ideaist
    • OR you can make it a network / multisite: https://wordpress.or…ideaist
    • yes child theme with some advanced custom fields if you want to give subsite users access to minimal configuration unless the theme already has that.Salarrue
    • can a child them grab assets from another wp build on the same server or does the parent theme have to be in that same build?dbloc
  • dbloc1

    OK more of a PHP question, but

    if my page contains a variable such as.

    https://www.coolwebsite.com/cool…

    is there a way to rewrite the URL string to
    https://www.coolwebsite.com/cool…

    and then make it the 10 readable as a variable when you return to the page

    • Trying to keep from having to make a new wordpress page for each new itemdbloc
    • Make the URL a variable and then parse out the number in PHP ... "hey grab the number after the = sign". Then reconstruct a fresh URL with that.Centigrade
    • but coming back to that reconstructed URL is a problem because there is no page for that in wordpress, right?dbloc
    • I know it has to be done in htacess, I just can find the right contextdbloc
    • /cool-factor/?coolfa...
      needs to change to
      /cool-factor/10
      then when you return it's not a 404
      dbloc
    • that's a GET param redirect.
      it isn't works because of the permalink structure.
      sted
    • https://www.cool website.co m/c ool-fa ctor /?co olf actor=10
      is actually: index.p hp? p=35 1651&co olf acto r=10
      sted
    • this is what you're dealing with:
      https://developer.wo…
      that /
      https://codex.wordpr…
      sted
    • 2nd link again:
      https://codex.wordpr…
      sted
    • OK I think I'm close. here's what I'm trying to do. I put the functions code in the CSS box on codepen. take a look.
      https://codepen.io/k…
      dbloc
  • dbloc2

    @sted whenever you have time can you take a look at the codepen link. Thanks for any help you can offer.

    I put the functions code in the CSS box on codepen. take a look.
    https://codepen.io/krsbrown/pen/…

  • Salarrue2

    Vulnerability Exposes Over 4 Million Sites Using WPBakery
    https://www.wordfence.com/blog/2…

    We highly recommend updating to the latest version, 6.4.1 as of today, immediately. While doing so, we also recommend verifying that you do not have any untrusted contributor or author user accounts on your WordPress site.

  • colin_s0

    is there a decent light weight alt to WP these days?

    ive never used 5.x until now and holy shit i hate it

    • Craft was always the better option. https://craftcms.com…grafician
    • not to mention any flat file cms out there, Kirby is awesome: https://getkirby.com…grafician
    • not to mention Twill from Area17 based on Laravel https://twill.io/grafician
    • Idk any major agency using WP for clients websites.grafician
    • also if you run a blog/subscriptions Ghost is the only best option: https://ghost.org/grafician
    • for anything else, you have Webflow https://webflow.com/… but it's pricey per year for the CMS+hostinggrafician
    • ^BUT webflow will crush WP in a few years, it's basically InDesign/Photoshop for web +ecommerce + CMS + hosting in the same packagegrafician
    • concrete5ESKEMA
    • ^lol nobody wants to have in their folio a website build with concrete 5, that's for corner shop websites...grafician
    • But yes, there are a lot of headless cms systems, Jekyll, etc. but you need to be a full stack dev to handle those, or to have a 10 man dev team to handle thosegrafician
    • we're in the "action script phase" of cms systems, where you need to be past a front-end/designer to handle anythinggrafician
    • I'm a designer who can code, but anything past what I mentioned above needs a dev team to handle a project...grafician
    • btw there's still lots of cash in WP projects, decent ones can earn you 50-100K...but WP is very high upkeep/securitygrafician
    • I'd rather use Webflow these days for small-mid projects, WP is too expensive for a free option...grafician
    • also ppl/clients that go "why can't you use a $49 theme to do this project" are fucking idiots lol stay away from thosegrafician
    • just download the classic editor plugin and voila, it's Wordpress pre 5.0fadein11
    • with all the benefitsfadein11
    • "concrete5, that's for corner shop websites" lol. You sure have all the knowledge. What makes you say that? Your ignorance? I use concrete5 since 2008.ESKEMA
  • hans_glib0

    here's something i've not come across before
    go to
    https://madeleinemilburn.co.uk/
    and look at the images spilling out everywhere. now resize the browser window slightly... they spring back into place!
    wtf is going on?

    • resize event has a js what adds max-height to the images, and modifies the height of the article container.sted
    • same event should be called on doc load.sted
    • ok, but it never used to happen and afaik nothing has changed. weirdhans_glib
    • and there is a max-eight in the code, but the browser is ignoring it as it is in % whereas if is specify px it behaves. makes no sense to mehans_glib
    • there is a JS error on load in the page-scroll-to-id.mi... file that kills the other Jquery functions until you resize the page and run the onchange functionspot13
    • cheers for that, very helpful. tho why this has just become an issue is very odd.hans_glib
    • you probably have a plugin (or theme) that was recently updated - try just turning them off one at a time (or toggle themes) to track down the issuespot13
  • mg33-1

    Help.

    Any of you WP pros know why my homepage wouldn't display the page I've set it to?

    If you go to www.michaelgallegly.com, the page is blank. Any page I set to be the homepage displays blank like that.

    But any of those pages that I go to when NOT the homepage display just fine, such as http://michaelgallegly.com/home-… - which is my usual homepage.

    So baffled here and just discovered it last night. Who knows how long it has been broken.

    FYI I'm using domain mapping plugin on a multisite. All my other sites homepages work fine.

    • Front page template issue? front-page.php - try removing or switching themesestetic
    • Yeah, try switching to one of the default themes. View Source is empty, which makes me think your theme is throwing a PHP error.noneck
    • get an SSL brada :)GuyFawkes
    • yeah, there might be a theme update needed, thanks. I'm WAY behind on swapping this site to Oxygen Builder.mg33
    • that's the white screen of death, check your server logs (nginx or apache?) and also php logs for errorsspot13
    • check .htaccess rulesgrafician
  • hotroddy0

    Building a wordpress site with background video using HTML5 <video> tag . On desktop Firefox and Chrome - the video loads great on . But on Safari OSX you have to wait until the full video downloads before it begins to play. This is causing the experience to be subpar on as you have to wait 3-5 seconds of stillness before video begins playing.

    To make matters worse on my clients old wix website they have a much larger video and it loads FASTER than on my wordpress site:

    2.5mb mp4 on Media Temple (dedicated virtual) takes 5.86 seconds to load.

    On my clients shitty wix site mp4 file (8.5mb) takes 1 second to load.

    My question - where can I find hosting that will load MP4's with the same speed as WIX?

    Is this possible for wordpress hosting?

    I hate WIX but how can I ask a client to move away from WIX when their hosting performance seems faster?

    Thanks in advance

    • load video from youtube/vimeofadein11
    • CDN?grafician
    • that dedicated virtual server isn't optimized, probably serving static files with the basic settings.sted
    • thanks for all help guys. how do you optmize a dedicated virtual server?hotroddy
  • oey_oey0

    I have a client for whom I've made Wordpress site using using domain (domain a) which consists of client's name

    Client purchased a new domain (domain b) that is the name of their business and ask me to redirect second domain to first.

    A couple of days ago client asked to upgrade the web hosting to have more disk space.

    So far so good.

    The next day when i typed domain a in the URL it showed the hosting address!

    I typed domain b and the same happened.

    To make things worse, as I couldn't install Let's Encrypt in the hosting address but only in individual domains it shows that the address is risky.

    I wrote to the hosting company to ask what had happened and they wrote back:

    "Your WordPress installation is displayed under the hosting address because both domains point to the same folder (httpdocs). As a result, both are linked to the WordPress installation. To fix the problem now, you would have to reinstall the Wordpress and before that assign both domains to their own folder. If you install an SSL certificate at the hosting domain, the certificate error should no longer occur."

    My question is how to I assign both domains to their own folder?

    Do i create a folder with the name of the domain for each domain in the root?

    Aargh! This was not happening before!!!

    • you can't point 2 domain names to the same location. You point one and the other will just redirect the that one.dbloc
    • I really can't understand why it was working and suddenly it's an issue.oey_oey
    • Who is the domain registrar. They should be able to help you get it set up correctly.dbloc
    • yes I know that they will redirect. it's supposed too. or am I missing something?oey_oey
    • the domain registrar just wrote that. I thought they would just repair it in the sense of making it the way it was before.oey_oey
    • but I'm half way there already. I found out that domain b was not redirecting anymore but was showing as a different website.oey_oey
    • please don't ask me how that happened, I didn't change a thing except for the upgrade.oey_oey
    • main domain (a) is working again properly and domain b redirects to a but I have a small error notice in plesk.oey_oey
    • sounds like you got it all fixed up.dbloc
    • i create a folder for domain b and updated Wordpress in domain a. then I change the folder for domain b and instead of web-hosting i changed it to redirect.oey_oey
    • I thought i was lost here. still don't eget what happened and I cant delete the error notice. it keeps popping up despite I delete the folder I created.oey_oey
    • but it works, thanks!oey_oey
    • I guess I was spoiled by DreamHost. Support is simply awesome. They tell what's going on and why and repair it.oey_oey
    • You can point as many domains as you want into the same location. These things depend on the server configuration and dns settings.sted
  • hans_glib0

    anyone know anything about animating stuff on scroll in wordpress? i've specified a simple (to my mind) infographic that would animate on scrolling

    as you scroll down, the page scroll stops moving while the material in the box scrolls up instead. in addtion there's a circle on the rh side of the box that rotates.
    viz

    anyone able to do this for a client? there's money available, tho i'm not too sure how much...

  • Salarrue0

    I am getting a weird error where some PDF files available from the media gallery are not accessible directly if I paste the full url in a post or directly in the browser address bar... I am not finding info about this anywhere. If someone is interested to help me out i'll pay for your time.

    Thanks

    • do you have some WP-specific redirect stuff going on in your .htaccess file(s)? Like, for making your URLs neater, etc?Nairn
    • wp-rocket (a cache extension)
      added a lot of stuff
      Salarrue
    • did you update your permalinks? in settings, permalinks, then click on save changes (without doing anything).
      shot into the dark, but maybe it's that.
      uan
    • ^this tells wp to update the database, when something changes the permalinks structure it's necessary.uan
    • Yes I updated them... actually the problem start after server a migration.Salarrue
  • voiceof0

    Any suggestions on where I should go to find dependable WP developers. I rarely go in to WP but we have a few things we need set up like setting up webhooks, SSO etc...

    • wp developers are a dime a dozen on upwork.com. Many of them good if you have a clear understanding of project scope and have granular tasks listedhotroddy
    • Thanks. We found a developer on upwork and I really should have followed your granular tasks advice more.voiceof
    • Sorry to hear that! Hope you didn't lose a lot of $$. I know nothing about webhooks and SSO so I'd be in same positionhotroddy
  • ideaist1

    Hey gang,

    Yet again, I'm sitting on a few client WordPress sites (mostly build mion DIVI) and i'm having issue(s) with site / server speed(s).

    I've started my own VPS server in order to better control, backup, etc. client sites BUT am still struggling to get my site ratings (especially with God / Google) about 40 / 80 (Mobile / Desktop).

    Hit me with your "silver bullet" solutions OR what balance of plugins you use.

    Thanks in advance for all relevant AND irrelevant answers!

    x

    o

    • I would suggest moving static assets to a static file service like S3 using WP-Offload Media: https://deliciousbra…spot13
    • and then consider using server caching so you are not generating the page dynamically on every load. I like the SpinupWP service from the same devs as above.spot13
    • and finally, to get to full speed, move your database to a database service so you're not using the same processor / ram to make db queriesspot13
    • Fantastic @spot13!ideaist
    • url?sted
    • VPS=shared resources on a dedicated server. if its not something that is specialized for wp your best choices are the ones spot13 said.sted
    • with wp it's critical to have a properly working static cache.sted
    • what we're using almost everywhere is a combination of autoptimize and wp super cache with php memcached and apu these work properly without adding delayssted
    • Great recommendations Spot. What database service do you use?dbloc