Wordpress Discussion

  • Started
  • Last post
  • 164 Responses
  • ideaist1

    Looking for WordPress security-related plugin / information; 3 sites malwared in the last few days.

    : (

    Thanks in advance!

    • Wordfence. But I recommend migrate the essential content to a new install/databaseSalarrue
    • Sucuri is good for scan and clean too.Salarrue
    • iThemes Security is another popular option.noneck
    • What they said.ArmandoEstrada
    • Wordfence+fail2ban goes quite nicely.
      Sucuri is sucky, iThemes WTF?
      sted
    • i like sucuri :(pockets
    • +1 for scurri - they fixed "wp pharma hack" on one of my sites in like 5 min.dconstrukt
  • pockets0

    whats a shortcode to display all products on one page in LIST VIEW?

    this shit doesnt work

    [products orderby=”date” view="list" columns=”1″ ]

    • that's sort of theme dependent, isn't it? Shortcode is just a function call.monNom
    • shortcodes are not a standart. You need => https://premium.wpmu…Beeswax
    • talks about woo, and [products] sh will not work for that, use the [product_category] or custom for all.sted
  • slinky0

    ok. So looks like i definitely need to either use Multisite or to clone the WP installation. Does anyone see any benefits of one over the others? Is Multisite more challenging technically? Right now i am leaning towards cloning the WP install and it might be easier and quicker.

    • I've used WPML to do this. You create separate pages/posts for each language, so it should work.noneck
    • Even with iframe links and images, as long as it's in the content editor, or with ACF, you should be golden.noneck
    • If your language content is in the theme, you might be fucked, but I'd be surprised.noneck
  • microkorg0

    More Wordpress chat ...

    What backup solutions would you recommend?

    BackupBuddy
    Backup Guard
    Backup & restore Dropbox

    anything else worth checking out?

    dont mind saving to dropbox or google drive so that its safe OFF the server

    • I use BackupBuddy. Works good.noneck
    • Will backup buddy backup other databases on the server as well, or just the wordpress database?dbloc
    • Pretty sure just the WP database.noneck
    • move to managed wp host, we use flywheel its awesome.Mattjanz3n
    • backuobuddy. well worth it. does backups, migration, offsite...ArmandoEstrada
    • cheersmicrokorg
    • BackupWordpress. And why bother with Dropbox? Also - any decent host provides regular backups of the database and files.fadein11
    • duplicatorpockets
  • slinky0

    ok, so THEY want to have their wordpress site multilinqual. Only in Spanish/Portuguese. I've tried some of the translation plugins, and because some of the content (forms, etc) will be pulled in via iframe, the plugins obviously will not translate those, and also obviously the plugins will not dynamically change image based content to the alternate language versions. (The iframe content and images will have alternate lang versions available.)

    Also, the client will provide the content in the alternate languages themselves...

    is my best route to have multiple WP installs of the same site for the other languages?

    i am mostly new to WP because i have not touched it in like 10 years.

    • sorry but you have to use wp multisitested
    • but if it's just 2 languages there are some plugins what can handle the content properlysted
    • https://wpml.org/sted
    • thanks sted. but its not just the content that is in wordpress, but i also need to be able change the iframe link and images to match each langslinky
    • sounds like i need wp multisite..slinky
  • microkorg1

    HELP!

    Need some wordpress help here.

    Been trying to embed YouTube 360 content
    e.g


    and it's just not working. Video is playing "unwrapped" with a glitch rectangle top left. Cursor indicates is is a 360 but no.
    :(

    If you've got wordpress please give that link above a demo post if you have a moment to see if it works or if its just my fucking computer :(

    It used to work fine on the test Wordpress install I had.

    Just tried it on 2 different installs and on different browsers and still no.

    Wonder if theres been an update :(

  • microkorg0

    GETTING YOUTUBE 360 VIDEOS WORKING ON WORDPRESS

    If you've read any of the previous threads you'll have seen that I was having bother with a bought theme. When I was embedding a 360 video (the embed is automatically sniffed when you post url or yt embed in post) in a post.

    What was happening was YT was looking at the size of the iframe the video was in then stripping the screen size down which meant that the 360 feature wasn't working.

    My theme starts with the video smaller then when you click to play it goes larger.

    Way I've got round this after lots of faffing about was to put 4K dimensions into the embed code given by YT and add that into the post.

    e.g

    <iframe width="4096" height="2160" src="https://www.youtube.com/embed/***************" frameborder="0" allowfullscreen></iframe>

    Found that my theme would keep the video sizes that it originally had visually but YT thought it was larger so shows the video at 4K resolution :)

  • microkorg0

    OK, another WP/YouTube question.

    Is there a way to force YouTube videos to be added as media to a page or embedded show at the maximum resolution?

    I've see tutorials saying to add ?vq=hd1080 to the end of the URL or within the embed code but this doesn't seen to work.

    ?vq=highres is seemingly the code for 4K

    It seems thought that the YouTube player detects the size of the current embedded player on page and if its smaller than the 4K or HD size then it won't show that resolution of the video.

    This is a royal pain in the arse as I'm wanting a wordpress site that can host 360 VR videos. And at the moment they won't play if someone comes to the site - they have to arse about with the player settings to get it to work.

    :S

    • the dimensions of the iframe container count as resolution reference. and try hd720sted
    • Will try the 720 but think it has to be more for 360VR.
      Iframe not in the page it's a bespoke player in the theme
      microkorg
    • 1am here so will get back onto the troubleshooting tomorrowmicrokorg
    • fitvidsjs.com ?Mattjanz3n
    • ah lol, so actually you don't have real control over the player. can you give me some url to check out what's going on?sted
    • no control over player. sorry can't give the URL. its a hush hush project till launch.microkorg
  • microkorg1

    Looking for the best option for a Forum Plugin that will form part of the site.

    Any suggestions for the best forum Plugin?

    Also looking to add a Payment Gate to the forum - or maybe just to a few of the categories within the forum so a user has to pay to post. Is this possible?

    • bbpress for the forummoldero
    • did a lot of looking at this a while ago and yep bbpress is the easy winner. For payments just put the forum in a members area using a membership pluginfadein11
    • memberpress is very good and cheap and has payments built in.fadein11
    • only problem with bbpress is its default styling is really shit - so a lot of CSS and templating to do to make it look nice.fadein11
    • cheers :) have a coder helping me out so he'll be able to blast through the CSS side of thingsmicrokorg
    • no probs.fadein11
  • microkorg1

    so i managed to fix the 360 youtube problem, the problem was my settings for the videos were not set at 4K.
    it turns out the videos are not displayed correctly and interactive if not set to 4K!

    • +pockets
    • Settings on render? Settings where?Hayoth
    • settings on the youtube video itself on page. i mustve been viewing vids previously at lower resmicrokorg
  • dbloc0

    What's the best/easiest to set up plugin for posting to social media

  • pockets0

    http://www.latinoliteracy.com/bl…

    why are the posts uneven? left and right post should be same height...
    wasnt like this earlier...

    wtf have i done..

    my brain is turning into mush and firebug isnt helping

    • .hentry:first-child {
      margin-top: -24px;
      }
      sted
    • (the position of the elements bellow are calculated by the first item's pos)sted
    • sted you are my hero, fixed!pockets
    • Looks even on mobileHayoth
    • firebug is your first problemMattjanz3n
    • what is there besides firebugpockets
  • SoulFly-3

    Excuse my ignorance, but don't all agencies do that? Resell a 10 dollar WP template for 10K with a new skin?
    I'm sure they don't make it obvious, but I know some web designers in New York that confirmed to me that they do it.

    • Becky, like, I would never.ArmandoEstrada
    • cool story bro.fadein11
    • It's not really THAT difficult to code a theme from scratch. Most commercial themes come with a lot of unnecessary bloat.yuekit
    • this crap again?
      http://www.qbn.com/r…
      sted
    • I'm sure some podunk agencies do, but real agencies have people skilled enough to build from scratch. It's really not as hard as some might think.dbloc
  • Hayoth0

    Hello.

    I am using this theme for a website
    http://rnbtheme.com/corporate_fi…

    I want to change the color of the hamburger menu when the sticker header is activated.

    I changed the hamburger menu icon to white but when the page scrolls and the sticky header is activated the icon changes to black.

    Is this controlled by CSS? If so, where? I can't find it in the theme options so I figured I could change it in the CSS?

    • #header-container.sm... .dfd-top-row .columns .dfd-menu-button .icon-wrap::before{
      background: #FA0946;
      }
      sted
    • fakin truncatested
    • check the themes root folder for the .css via ftpmoldero
    • http://pastebin.com/…sted
    • just add this line to the theme css. replace penis with the proper entitysted
    • ^lolHayoth
    • and just one thing: at me the stick header hamburger menu is white always....sted
    • lol stedmoldero
    • I got it figured out. Super janky. In theme it is set to black.Hayoth
    • lol... penisPonyBoy
  • sted2

    bump pockets. superfish plugin :(
    sf-js-enabled class is missing and menu mouse actions are different from #menu-main, superfish.js not loaded.

  • pockets0

    any ideas on how to fix the drop downs on mouse over for this site

    https://www.lecturabooks.com/

    same structure over here and it works:
    http://www.latinoliteracy.com/

    not a z index issue...and firebug shows the outline of the dropdowns but they just dont show

    • no ideas ehpockets
    • You have some http/https issues as well as a missing .css file; i'd start their brotherman.

      ; )
      ideaist
    • the missing css file is a different issue. i added it back and it didnt help anything. https issues are only on social media iconspockets
    • i got the sub menu to appear on click but i cant get it to float over the bodypockets
    • sf-js-enabled class and menu js missing from #menu-main superfish.js not loaded.sted
  • sted0

    Help me puzzle out this sht:
    On one certain server environment the wordpress admin breaks, the front-end works fine.

    - /wp-admin/ blank page,
    - saving post blank page(data is saved).
    - media library won't load a single fuckin' image.
    - logs empty, and no js errors.

    with the exact same php, mysql versions, and php.ini, tested and working on two other and completely different servers.

    wwhaat the fck can do such thing? (don't google wp-admin blank i'm done with all of that)
    perhaps I miss something, i'm interested in every single idea.

    • Have you turned off all plugins and see if it loads?ArmandoEstrada
    • is the htaccess correct?dbloc
    • also check the root index file, make sure you didn't write over it with a different index.phpdbloc
    • i had this issue this morning.. but it was malware because my clients are idiotspockets
    • if you moved it, check database for old addressdbloc
    • ^ yea, but you would see it in a redirect firstpockets
    • plugin-on-off done,
      htaccess is ok,
      index.php ok,
      db find and replace is ok
      sted
    • scan for malware? can you get into the backend?pockets
    • and rolled back to the base theme.
      i use the exact same method on all 3 locations to install the site.
      sted
    • core files + malware? id overwrite core files with the newest version one by one.. start with config and wp-includespockets
    • yes with the wp-login.php i can login and access the admin.sted
    • no malware site is clean.sted
    • wp was updated to a new version few days ago, but i can't get that why is it working on the other servers and on my local?%/sted
    • i will do clean install with the hosting app installer. and connect that to the dbsted
    • ^ great idea stedpockets
    • well it's an older wp and works. fukkme.sted
  • dbloc0

    There are various titles and descriptions that need to come from a post type, but I need to override the page SEO.

  • dee-dubs0

    Here's one Im stuck on. Trying to use ScrollMagic and GSAP in WP to do a little animation on scrolling... cant get the b@st@rd$ to work.

    Am adding the scripts in my functions like:

    function my_theme_scripts_function() {
    wp_enqueue_script( 'gsap-js', 'http://cdnjs.cloudflare.com/aja... array(), false, true );
    wp_enqueue_script( 'scrollmagic-js', 'http://cdnjs.cloudflare.com/aja... array(), false, true );
    wp_enqueue_script( 'myscript', get_template_directory_uri() . '/js/scripts.js', array(), false, true);
    }

    then just for testing have tried in my scripts file:

    var controller = new ScrollMagic.Controller();

    var myTest = new ScrollMagic.Scene({duration: 200})
    .triggerElement('#hero1')
    .setTween(testTween)
    .addIndicators()
    .addTo(controller);

    and i keep getting :

    scripts.js?ver=4.5.3:33 Uncaught TypeError: (intermediate value).triggerElement(...).setTw... is not a function

    any ideas ? I tried adding 'gsap-js' as a dependency for ScrollMagic and that did nothing.. really stumped on this

    • PASTE.
      BIN.
      ArmandoEstrada
    • Quick stab, remove the http: and https:ArmandoEstrada
    • http://pressing-matt…ArmandoEstrada
    • No dice, tried removing http no differencedee-dubs
    • Check console and make sure that those scripts are in fact being loaded. The "is not a function" error is indication that either they are not linked correctly,yuekit
    • or your scripts.js function is executing before they have loaded.yuekit
    • scripts are loading, and I have the script.js function firing on window.load so they should all be runningdee-dubs
    • It was addIndicators() if you use that you need to be loading scrollMagic debug JS too!dee-dubs
  • dee-dubs0

    Bumping to see if any UK bods have any idea for my question above

    • Drop the url here.sted
    • My best guess was that your js loading queue isn't right,but it looks ok.try to execute the custom script with jquery docready eventsted
    • and load scrollmagic and gsap in the header. your script is ok in the footersted
    • yeah I think I may resort to doing that just to get it workingdee-dubs