petj
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Custom pages and templates not loadingDone.
Forum: Developing with WordPress
In reply to: Custom pages and templates not loadingThanx – that did the trick.
Forum: Developing with WordPress
In reply to: Custom pages and templates not loadingThank your for a quick reply. I’ll give it a try.
Forum: Localhost Installs
In reply to: How to Text Align a Theme?Log into your website. Click on “Customize”. Choose “Additional CSS”. Then add the code as shown above by Anass:
* { text-align: right; }Check out the result to the right. If it’s ok, click the blue “Published” button on top of the page.
Forum: Developing with WordPress
In reply to: REST API on Manjaro Arch Linux LocalhostThanx for your kind answer and suggestions.
I have tried to activate “pretty” permalinks (once more), but with the result that the links don’t work any more.
Somewhere I saw that mod_rewrite shold be installed, and found it on AUR.
Still the 404 error. And no luck with the REST endpoints too.
I tried to edit the .htacces to:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressAfter a restart … same problem.
I am tempted to install a Debian or even Ubuntu LAMP on Virtualbox – or similar.
Normally setting up a LAMP server is a straight foreward process. Perhaps the Arch LAMP server is buggy?
- This reply was modified 8 years ago by petj.
Forum: Localhost Installs
In reply to: Localhost WordPress instalIf you work on a Mac localhost a quick and somewhat dirty fix is to give “777” (read, write, execute) permissions to the wp-content folder. Check the folder permissions.
Forum: Fixing WordPress
In reply to: Individual User PostsTry this page about
wp_list_authors( $args ):https://codex.ww.wp.xz.cn/Function_Reference/wp_list_authors
Forum: Fixing WordPress
In reply to: Automatic placement of text from another siteYou could pull data about the hotel from one site via the REST API and AJAX. Here is a sample from my Github respository: https://github.com/asathoor/wpRESTandJson/blob/master/rest.html
So you could host the hotel info on one website – and pull the content about the hotel via the REST API on the others.
Your users should enter the hotel data on a WordPress site in the Dashboard. You don’t have to use the google drive solution.
- This reply was modified 8 years, 6 months ago by petj.