eightdaysaweek
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Why Does One of my Text Widget Delete its JS-Tags ?Re: kses – PHP HTML/XHTML filter
Hi David, many thanks for your reply, but…
Are you saying that if I download & install the plugin: kses-0.2.2.zip
…via your above 2nd link, eg: https://codex.www.ads-software.com/Function_Reference/wp_kses_hookThat I will be able to use that to…
Yes, you can write a plugin that will add new tags to the allowed tags.
Yes, with the code you write you can control which site allows the new tags.Or, are you suggesting that I should create my own plugin ?
Many thanks.
Forum: Networking WordPress
In reply to: Why Does One of my Text Widget Delete its JS-Tags ?Hi David,
Many thanks for the info.I’ve checked out the info, so, if I add that plugin to my MultiSite:
Q1: Can I allow something that is presently disallowed ?
eg: JS-Tags: <script>some code here</script>Q2: AND can I do this independently eg: as required site by site ?
…Or do the changes effect all sites in the MultiSite ?Thanks
Forum: Fixing WordPress
In reply to: How do I move a WordPress website ?Hi Lyle:
Thank you very much for your earlier detailed reply.
I’m really sorry for the delay in replying but personal events got in my way.
But I’d really appreciate it if you could help me out with my following query.You said I should:
1:- create a new, empty database for each of the sites you want to move
2:- import into these the exported database from the previous host
3:- edit the siteurl & home field for each to reflect the new location
(see below for the URL)
4:- create new folders in the root for each site
5:- copy the respective contents from the previous host into each
6:- edit the wp-config.php of each to reflect the new DB credentials
7:- as the URL has changed on the additional sites…
login, install and run this plugin to update the URLS:
8:- https://www.ads-software.com/plugins/velvet-blues-update-urls/
9:- select all options EXCEPT the last one (GUID)
10:- go to Permalinks and re-save
11:- The URL to each additional site will then be:https://www.empty_domain.com/folder_1_name
https://www.empty_domain.com/folder_2_name
I’ve just started to implement your steps outlined above:
Re: Steps 4 & 5:
a: My new domain: eg:
https://www.new_domain.com
currently has a ‘WordPress_Test’ site in its root folder.b: I’ve created a new folder in its root, eg:
https://www.new_domain.com/website_1
c: Currently: The website I wish to move into (b’s) (website_1) folder
is in the root of its own domain, eg:http//www.website_1.com/
d: Both sites are hosted in my Hostgator-Resellers-Account,
but the latter domain (https://www.website_1.com/
) is no longer active.e: From my Hostgator-cPanel: I can make seperate BU files of (c’s)….
i: MySQL database ( eg: website_1_wrdp1.sql.gz )
ii: Home Directory ( eg: backup-website_1.com-8-6-2015.tar.gz )Q1: So here’s my first query:
If I was to use my Hostgator-cPanel ‘restore’ feature, to restore: e:ii
into (b’s) folder, ie:https://www.new_domain.com/website_1
Presumably:
It would restore it into that domains root folder,
(ie: where I currently already have the website: WordPress_Test)
instead of that domains new folder: website_1So how can I get round this ?
The cPanel doesn’t seem to have any way of stipulating the required sub-folder, as its restore-destination, rather than the domains root-folder.I’ve not attempted the restore, because I don’t know if it would give me that option ?
But if it didn’t, then it would probably go ahead & install (website_1) on top of the current (WordPress_Test) website !!!If I have to:
I could remove the ‘WordPress_Test’ website from this domains root folder,
but it would still be restoring (c) into (b’s) root, instead of its folder: website_1So how can I get round this ?
Many thanks.
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi Tobias,
Many thanks for taking the time to reply:Also, you could maybe try to look at this in more detail yourself, by using the Developer Tools of your browser (I prefer those of Google Chrome). Maybe that helps finding the CSS declaration that is causing this for you?
I have tried to solve this myself, including using the FireFox browser DT, but find them a bit confusing, but I’ll try chrome.
And as I said at the start:
….but I thought that my tables inline-style-settings should over-ride any earlier styles in a external-style-sheet !
So could give me a clue as to why an external-style-sheet, would override (or affect ?) my tables inline-style-settings ???
Many thanks mac
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi Tobias,
BTW: I noticed that, if I disable this CSS file, then my table-cells display correctly, ie: wp-content\themes\twentyfifteen\style.cssMany thanks. Mac
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi Andrew,
Thanks for the info, I’m not familiar with CSS desk, but I’ve just had a look, & I’m not sure how I could use it to reproduce the page, as it seems to require the html & CSS entered separately.…whereas the code content of a displayed WordPress-Page only shows the html + the links to the effective CSS.
Obviously: I could just copy & paste the contents of the my WP-page into the html window of CSS desk, would that work ?
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi Tobias,
If its a help:
I can email you a copy of my WordPress-Pages’ html, which includes my tables resultant code, & the links to all of the external CSS files in the theme, etc,.Those links will lead to the CSS files, in the themes folder of the downloadable WordPress package.
If so, where do I send it ?
Many thanks. Mac
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi Tobias,
Thanks very much for your help.
But I don’t have an on-line link, because I’m creating it on my PC’s (off-line) server.But the code is exactly as I’ve described above.
Many thanks. Mac
Forum: Plugins
In reply to: In a plugin: How do I set table cell widths ?Hi,
Any help greatly appreciated.
Many thanks. MacForum: Localhost Installs
In reply to: Problem installing more than one WordPress-site locally on my PC !Thanks everyone, for now I thinks that this is resolved.
Forum: Localhost Installs
In reply to: Problem installing more than one WordPress-site locally on my PC !Hi Ross:
Again: Many thanks for your clear & helpful replies, it’s is greatly appreciated !Forum: Localhost Installs
In reply to: Problem installing more than one WordPress-site locally on my PC !A1: It is perfectly ok to have multiple WordPress installs on a domain running in independent directories. Be sure to be using a different (database + table prefix) for each site.
Hi Ross: Many thanks for your clear reply & links.
BTW: When I installed wordpress using its installer, its database-connection-details page/form, shows the ‘Table Prefix’ default value as: wp_
…and its legend says:
‘If you want to run multiple wordpress installations in a SINGLE database change this’Q1: So: As each site has its OWN-database:
Does each site NEED to have a different-table-prefix ?Re: Database names:
At the phpMyadmin control-panel:When I created the first database: wordpress_db_1
…it was listed in the panels lefthand column, as: [+] wordpress_db_1But: When I created the second-database: wordpress_db_2
…BOTH-databases were then automatically re-listed in sub-directories of: [+] wordpress
[-] wordpress
[-] db
[+] wordpress_db_1
[+] wordpress_db_2ie: phpMyadmin automatically created what seems to be a sub-directory for each _ (underscore) in the databases name.
Q2: So is this the case (ie: are they really in sub-directories) ?
Or is this just a visual thing, done to make the listing more tidy ?Many thanks
Forum: Localhost Installs
In reply to: Problem installing more than one WordPress-site locally on my PC !Hi Tara, Many thanks for the ‘useful codex’
But I’ve not been able to find a solution from there, so far.Many thanks.
Forum: Localhost Installs
In reply to: Problem installing more than one WordPress-site locally on my PC !Hi Lyle, Many thanks for the reply…
The main ‘culprits’ seem to be certain themes and/or plugins and not WP or it’s servers specifically.
Q1: Well my main/first question is:
Is it OK to have numerous (ie, more than one) WordPress-sites on the same domain, each in their own individual folder,
ie: Where each folder contains its own individual install of WordPress ?
(ie: NOT installing them as Network-MU-sitesQ2: And if its OK: Do I need to set anything extra (in the server) to allow these multiple site to function correctly ?
Out of curiosity, any particular reason for the ‘convoluted’ path to your local sites? ?? All you really need is /wordpress1, /wordpress2, etc. within htdocs.
Well, I have many different projects in my Xampp Server, so it’s just a convenient way to contain each one into its own folder, just like you would in Windows Explorer.
Originally the files in folder My_Web_Files came from a previous PC, so I needed to keep them separate, but I guess I could drop that folder in the future.Q3: Why ? Do you see it causing a problem ?
BTW: The error message, now appears in both installs, but it didn’t appear in the first install, until after I’d done the second install.
Q4: How can I track down the cause of MY error message, I know you said do a search, but if no one else has my problem, how should I proceed ?
Q5: And…perhaps this is a dum question: But, am I likely to run into stability problems if I ignore the error message ?
Many thanks.
Forum: Fixing WordPress
In reply to: How do I move a WordPress website ?Hi,
Anyone know how to do this ?Many thanks