AGSoft
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Is WordPress (hosted themes) and WooCommerce okay with porn?WordPress is an open platform. Both in code (as you can see it if you really wanted to) and in content. There are absolutely no restrictions on what you can and can’t do. It’s great huh? WooCommerce is actually an Automattic (the company behind WordPress) plugin now so they share the same ideals. In other words, there’s no need to ask. ??
The age gate is typically not provided by the payment gateway unless you’re doing full age verification (which is rare, and not recommend as it’s really quite scary). Typically, by that point, the user you would have otherwise blocked would have already seen everything your site has to offer.
By age gate, I actually meant the landing page you’ve described there.
Good luck. ??
Forum: Fixing WordPress
In reply to: Is WordPress (hosted themes) and WooCommerce okay with porn?Hi webpreneurza,
There are no restrictions on the type of website you can host on WordPress (outside of local laws of course ?? ). WooCommerce looks to be fine based on your intended uses. I would also recommend an Age Gate but can’t really recommend one due to being biased(I’m a developer of one).
Forum: Plugins
In reply to: [Page Builder by SiteOrigin] Is there a way to install plugin custom ?Are you asking if there’s a way to automatically activate the page builder plugin when your theme is active?
By the demo slider you’ve technically already removed the Meta Slider function (on a theme level anyway – feel free to remove the plugin). What seems to be the issue with making use of the Site Origin Slider? Is it a design issue? As in it doesn’t look the same as Meta Slider in Vantage?
if you provide me with a link to your website I’ll be able to get a better idea of what’s happening.
Could you please provide a link to your website?
Forum: Requests and Feedback
In reply to: Plugin and Add-on RatingsThere’s no 100% user friendly solution to this. You’re going to have to do your own due diligence. Look at reviews, support threads(broken plugins annoy people, and annoyed people are very loud, etc etc. Don’t rely on one method because as seen above this doesn’t always tell the whole story.
It really only takes a couple of minutes to avoid getting burned. Don’t complain on these forums about getting burnt.
Forum: Requests and Feedback
In reply to: Selective (per-user) auto-update notificationsI suppose that’s true. However, I think this would only be worth the effort if it was instead sent to the super admin (or site email).
Adding custom notification settings for one thing sounds a tad overkill especially seeing as this doesn’t happen every other day.
Forum: Fixing WordPress
In reply to: My website attacked by malicious loginThis codex should give you all the information you need on this subject. Very little not mentioned in that codex is worth doing if your site is small.
Forum: Fixing WordPress
In reply to: Redirect to site after plugin download!I don’t think that is possible and I would be shocked if it was. No offense, but random redirects are a pia.
Regarding your plugin. I would strongly suggest you make use of wp_enqueue_style() so that browsers can cache the stylesheet rather than redownloading it every query.
Forum: Fixing WordPress
In reply to: Unable to install JQuery plugin in WordPress!Sorry for the delay!
If you intent to only use this code in that theme, just stick it in the themes functions.php. If you intent on using it again in another theme, or you would prefer to have it be slightly more modular just make a quick plugin. Give the Plugin Handbook a quick read on how to do this*.
Regarding jQuery. jQuery by default comes with WordPress so there’s no need to manually add it. If it’s not working straight out the box(please not that the version WordPress has comes with $.noConflict set) it’s possible it hasn’t been loaded due to there being no reason for it to loaded. Simply add ‘jquery’ as a dependency and it’ll be loaded prior to the script.
If you have plugin options you should have them in general theme js(ie. scripts.js) file. That’s what I would do anyway.
* Spoiler: create a php file, put it in wp-content/plugins/ add the following comment at the top of the file “Plugin Name: PLUGIN NAME HERE” now add the rest of your code to that file, and there’s your plugin)
Forum: Fixing WordPress
In reply to: Unable to install JQuery plugin in WordPress!Could you please provide a link to your website if at all possible?
The issue is how you’re linking to the script. The browser has no idea how to get it and is thus 404ing. Use the handy WordPress function get_stylesheet_directory_uri() to tell the browser where it’s located. (refer to the examples)
However, the way you’re trying to add it to the page isn’t the best way. Use wp_enqueue_style() and wp_enqueue_script() instead of manually adding them. This adds greater flexablity. Obviously if this isn’t your theme and you’re not distributing it doesn’t really matter but it’s best practise.
Forum: Fixing WordPress
In reply to: How to combine external CSS and Javascrpt?If you copy and paste the contents of those files it won’t do anything but add weight to your page. You have to prevent those plugins from adding the css / js to the page. To do this you’re going to have to be comfortable with writing a bit of (very basic) php. Give these two pages a read. wp_dequeue_style(), wp_dequeue_script().
If you’re not familiar with PHP at all and would rather an easy fix. Change plugin. Plugins like Autoptimize, W3 Total Cache do what you want.
Forum: Fixing WordPress
In reply to: Is it possible to place plugin files inside a WordPress theme?No. However you can easily prevent them from updating by either increasing the version number of the plugin (not really recommenced as it’s nice to have a point of reference), or by editing the plugin name – Example Plugin will get flagged for an update, but Example Plugin (edited) won’t.
If you’re comfortable enough with editing plugins, and the plugin you’re editing conforms with WordPress standards you should use its plugin hooks. This way you can keep your custom code, and have an up to date plugin. Give this a read for more information on hooks
Forum: Networking WordPress
In reply to: Rebuild deleted site from existing databaseBad luck mate. Let this be a mistake you won’t let happen again by using source control in the future. Here’s a guide explaining source control. Here’s two popular source control repositories; GitHub (public, paid private), and Bitbucket (public, free private)
Now onto your actual question. As a database only contains data, and not theme / plugin files you might be out of luck. Is your intent to recover data(posts, pages, categories, etc)? If so I’ll walk you through it in my next post.
Forum: Installing WordPress
In reply to: InstallationYes, you can install WordPress to your local machine. Give this a read for full instructions on how to do it.