September 13, 2018


  • Looping through comma delimited values returned from wpdb SELECT statement
    by /u/just_southern on July 19, 2019 at 1:09 am

    I have created a custom template in my theme to pull a list of account IDs from a custom table. The SELECT statement is as follows: ​ global $wpdb; $accounts = $wpdb->get_results("SELECT ID FROM wp_2_local_calendar_acct;"); print_r($accounts); this query returns this result: ​ Array ( [0] => stdClass Object ( [ID] => 3697,2558,2559,55467 ) ) ​ Now that I have the list of IDs in a delimited format, I need to loop through them and execute a shortcode with each ID. I am trying to use 'foreach' but I can't figure out how to break the delimited list into these unique values: ​ 3697 2558 2559 55467 ​ How do I do this in PHP? submitted by /u/just_southern [link] [comments […]

  • [Help] Menu disappears when I install plug-in ProgressBar
    by /u/MrGiggleFiggle on July 19, 2019 at 12:49 am

    My menu disappears when I install and activate this plug-in. I'm using OceanWP if that helps. Why does this happen? The plug-in is pretty popular with 2,000+ installs. submitted by /u/MrGiggleFiggle [link] [comments […]

  • [Help] Missing buttons and white text in visual editor
    by /u/CunningLogic on July 19, 2019 at 12:36 am

    Demo of issue: I host a wordpress site for some elderly friends of mine, they run their apiary business on it. The visual text editor has started acting weird. The text is white on white, and buttons are missing. I have done the following: * Updated the TinyMCE scripts, * Installed TinyMCE advanced, * added define(‘CONCATENATE_SCRIPTS’, false); to wp-config. * Updated everything * cleared browser caches (hoping and praying it was this simple) Looking for any advice on fixing this, failing that a recommendation on someone to hire to address this. At this point this is the last site on my server, and I'm headed on vacation in 36 hours. submitted by /u/CunningLogic [link] [comments […]

  • Help with URLs in Wordpress
    by /u/japanese-lanterns on July 19, 2019 at 12:10 am

    Hey, I'm new to WP (if sitting at a screen for the last 16 days until my eyes bleed - is new). 😉 Let's say my new WP domain is: But it's a sub-domain on my main domain: When an outside user types in - they will indeed go to the WP site and see everything fine.. ​ However, when they click a link: instead of the url showing up as that - it reveals the complete server url: How do I set it up where I'm not revealing the server domain.. That's my 'work' domain - and I don't want it associated with the Wordpress site? ​ Any 'easy step-by-step answers would be ENDLESSLY appreciated.. ​ Thanks! submitted by /u/japanese-lanterns [link] [comments […]

  • Bedrock+Sage with Local by Flywheel and Flywheel Hosting
    by /u/TeaBagginton on July 18, 2019 at 11:39 pm

    I'm auditing our teams web development process at my job, trying to find ways to modernize and streamline some bits. Currently we use a lightly modified version of Understrap with Local by Flywheel since we use Flywheel hosting for our clients sites. While researching potentially switching over to Bedrock and Sage for theme development, I noticed there's a number of additional steps required to get roots' framework to play nice with Local by Flywheel. I also noticed in a my research that it seems as though you have to use a Custom environment as opposed to the Preferred environment which allows for Connect to Flywheel for quickly pushing and pulling sites. Is there any way to set up Bedrock with Local when using the Preferred environment so Connect to Flywheel is still a usable feature? Curious if anyone else has this same dev workflow setup (Bedrock+Sage, Local by Flywheel and Flywheel Hosting)? I'm basing the assumption that you can't use the Preferred env in Local by Flywheel with Bedrock on this video tutorial which says Bedrock needs PHP 7.3.2 and the Preferred environment to utilize Connect to Flywheel requires PHP 7.2.9: submitted by /u/TeaBagginton [link] [comments […]

  • Cloudways/RunCloud/ServerPilot alternative with LiteSpeed
    by /u/Kulcanhez on July 18, 2019 at 11:38 pm

    Hello, There's any SaaS like RunCloud but powered by LiteSpeed or OpenLiteSpeed? Not interested in CPanel or Plesk and CyberPanel in my tests not had the best experiences and still waiting for a reply to my ticket 3 days ago! Thank you!! submitted by /u/Kulcanhez [link] [comments […]

  • Is there a way I can use a language translation even if it isn't 100% translated?
    by /u/SteSol on July 18, 2019 at 11:31 pm

    I want to change my forum language in the bbPress plugin to Macedonian. However, the language is 90% translated, so WordPress leaves the plugin in English. Is there a way I can force it to Macedonian, even if it isn't at 100%? submitted by /u/SteSol [link] [comments […]

  • Regex matching route params in the Rest Api, is this how its done?
    by /u/php_developr on July 18, 2019 at 10:19 pm

    The callback function 'deleteSingleCoupon' takes one argument and I'm curious if my code below will match the route param 'couponId' to this argument automatically? I expect it to be an int. function registerdeleteSingleCoupon() { register_rest_route('/wp/v2/delayedCoupons', 'deleteCoupon/(?P<couponId>\d+)', [ 'methods' => 'get', 'callback' => 'deleteSingleCoupon' ]); } submitted by /u/php_developr [link] [comments […]

  • Torque Toons: The Crop Circle Block
    by Doc Pop on July 18, 2019 at 9:04 pm

    With all the recent talk about Area 51, we thought it would be fun to see a new Gutenberg block just for aliens. The post Torque Toons: The Crop Circle Block appeared first on Torque. […]

  • Looking for free/cheap work around for this MC4WP feature
    by /u/aylward709 on July 18, 2019 at 8:52 pm

    I am developing a website for a local politician. I want users to be able to do 2 things: Subscribe to a mailing list- This is currently being achieved via MailChimp 4 WordPress, a user enters their email address and they are added to the audience on the free MailChimp account. Subscribe as a potential volunteer for events- This would work the same way as the mailing list, anyone who subscribes to this would be added to the mailing list but also have the tag "Volunteer". The MailChimp subscribers are filterable to view just those who are willing to volunteer. The issue i'm having is a situation where a user is already subscribed to the mailing list, and decides after that they want to subscribe as a potential volunteer. This throws the user an error when subscribing as a volunteer saying: "Given email address is already subscribed, thank you!" I'm not concerned about the error message because I know how to modify this, but the issue is it does not update the user in the audience to have the "Volunteer" tag. So essentially if a user is already on the mailing list, and later wants to become a potential volunteer, they get an error and are unable to do so with the same email address. Any suggestions or ideas would be greatly appreciated!Thanks. submitted by /u/aylward709 [link] [comments […]

  • Google search results display wrong page.
    by /u/AtlasPlugs on July 18, 2019 at 8:43 pm

    I helped my aunt set up a food & recipe blog using genesis and foodie pro. Now her google search results are linking to the category of recipes and not directly to the recipe post. This also causes an incorrect thumbnail display. This is only occurring on a single recipe category too. I used widgets on pages to creat a second recipe page exclusive to this category, could that be the problem? submitted by /u/AtlasPlugs [link] [comments […]

  • Every app slowing down my site.
    by /u/mybrainhatesme123 on July 18, 2019 at 8:00 pm

    Almost every app that I have downloaded slows my site down to a snails pace. I only have 8 apps downloaded and activated. What can I do about this besides just deleting almost all the apps. submitted by /u/mybrainhatesme123 [link] [comments […]

  • How I can make my page widescreen?
    by /u/sunstart2y on July 18, 2019 at 7:37 pm

    I'm working on a blog and I'm kinda annoyed that its not widescreen but I don't know how to change that. Currently using Optimize Press and its live editor to make my blog. submitted by /u/sunstart2y [link] [comments […]

  • WordPress With SQLite
    by /u/darryldias on July 18, 2019 at 7:18 pm

    submitted by /u/darryldias [link] [comments […]

  • Advise on selling a wordpress site to a client
    by /u/MrMunchiess on July 18, 2019 at 6:23 pm

    Hi guys, just looking for some friendly advise here. I've helping out a friend by making a site for his business. He will be paying me for the dev work of building the site. So for me to build a site using wordpress for a client, what is the best way to go about this? Do I let the client subscribe to wordpress and they give me access to build and deploy the site? Or can I as the dev subscribe, build and deploy, then do a sort of "hand off" to the client? This is my 1st time doing some freelancing outside of my regular job, any advice/feedback would be much appreciated. submitted by /u/MrMunchiess [link] [comments […]

  • Custom Theme - How to change font globally?
    by /u/davidt24 on July 18, 2019 at 6:21 pm

    I'm working on a site that has a custom theme built by a previous agency. I'd like to globally change the font to a different font and size... so I don't have to edit every page. I've never done this on a custom theme before (Only non-custom themes). The CSS is calling a font from the server. If I want to change the font being used (to a Google font or other)... how can I do that? ​ Snippet from CSS: /* Enter Your Custom CSS Here */ @font-face { font-family: HelveticaNeue; src: url(.../wp-content/themes/cptheme/fonts/HelveticaNeue.ttf); } submitted by /u/davidt24 [link] [comments […]

  • Cannot recover Inner Page Background Banner/header
    by /u/pleyland on July 18, 2019 at 6:18 pm

    I started editing this web page and I removed the Inner Page background from this homepage I want to reverse the change because I should be working on a copy of the homepage, not the homepage directly, but I cannot seem to find the setting that brings the banner back. The banner is suppose to look like the one on every other page If I use the setting "inner page background images" I can set the image for this banner, but I can't bring back the banner itself. Sorry, I know it's a simple problem. I'm used to editing html directly. This system of menus is quite frustrating submitted by /u/pleyland [link] [comments […]

  • I don't want to start over
    by /u/the_trout on July 18, 2019 at 5:07 pm

    So I was fussing around with my site, and now the search feature won't work. Type in a search word, nothing happens. I've tried disabling plugins, etc., but I can't seem to get it fixed. Is there a way to just go back to the way my site was two days ago? Back when everything was working OK? Just two days. submitted by /u/the_trout [link] [comments […]

  • Is there a limit (official or observed) to the number of posts possible on a Wordpress site?
    by /u/elzadra1 on July 18, 2019 at 4:51 pm

    submitted by /u/elzadra1 [link] [comments […]

  • How can I use the output of a shortcode inside of another shortcode?
    by /u/devenk2 on July 18, 2019 at 4:19 pm

    I posted this question on stack overflow yesterday and it seems that nobody knows the answer. If someone could help me out here that would be awesome. ​ submitted by /u/devenk2 [link] [comments […]

  • Thought some of you might be interested: A few months ago I helped create r/AdspaceMarket where businesses and/or individuals looking to advertise can directly link up with those selling adspace.
    by /u/lil_falco on July 18, 2019 at 4:15 pm

    Hey all, a few months ago I was involved in the creation of r/AdspaceMarket. It's intended to be a place for people on Reddit to buy and sell adspace, and I think some of you who run Wordpress sites might want to check it out. Anyone with a digital presence of any kind—be they content creators, YouTubers, Instagrammers, website devs, bloggers, streamers, influencers, or whatever else—can now directly sell their traffic to small businesses and enterprises involved in e-commerce and services. By cutting out the middleman, businesses can expand their reach and adspace sellers can more directly monetize their traffic. Personally, I've developed so many working relationships here on Reddit. It's a native platform for communication and meeting new people. Given how successful r/ForHire has been, I decided to apply the same idea to adspace: what if there was a way to connect media and content creators directly with advertisers here on Reddit? From this basic idea came r/AdspaceMarket. I thought some of you in this sub might be interested. Let me know what you think! Note: if you are wondering about spam, I just recently added a rule which forces sellers to only be able to post images showing proof of traffic. Buyers can only post text-posts. submitted by /u/lil_falco [link] [comments […]

  • Hi all. I'm having an issue with the Font Awesome icons. I get the square boxes come up only on my home page, every other single page seems to be fine, and I currently have the Font Awesome plugin...
    by /u/LTrevill on July 18, 2019 at 4:02 pm

    submitted by /u/LTrevill [link] [comments […]

  • Hi! Can I set media files visibility to private? How can I edit the underlying code for native post types like media?
    by /u/emin2pacc on July 18, 2019 at 3:44 pm

    submitted by /u/emin2pacc [link] [comments […]

  • How to Use Instagram to Make More Money for your Online Store
    by Dan Magill on July 18, 2019 at 3:00 pm

    Shoppable Posts Offer a Powerful Way to Connect Followers to Your WooCommerce Store Over one billion users log on to Instagram each month, and half of those use the popular image app every single day. With the addition of shoppable posts and stories on Instagram, those 500 million users can now more easily become your […] The post How to Use Instagram to Make More Money for your Online Store appeared first on WooCommerce. […]

  • Just Got A Ton Of Hacking Attempts On Site With Altered wp-login URL
    by /u/KB_Sez on July 18, 2019 at 2:28 pm

    I use the plugin 'Rename wp-login.php' and it works great. I've got it on like 15 sites and I've never had any hacking attempts against that site since it makes the admin login something random like and bots never find it. ​ Last night and today I got notified by Word Fence that there were about 40 login attempts on a site. I checked to make sure the plugin had been installed and was active and when I go to or /wp-login.php I get redirected or get a 404. The interesting thing is that the bots are pretty sophisticated: I'm seeing multiple attempts with the same user name of admin (on my auto-block list, of course) or the domain name coming one after another from different IP addresses. I changed the login URL and double checked all my settings and perm blocked all the IP addresses but still. I checked with AbuseIPDB and most of these have already been reported as well. Has anyone else seen this? The one site is on a crappy host that I'm trying to get the client off of but the other is my host of choice and I can't figure out how they found the URL for that one. ​ ​ submitted by /u/KB_Sez [link] [comments […]


WP to LinkedIn Auto Publish Powered By :