adminadminadmin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to display the posts date well?Nothing to worry about. Here there is a solution for my problem, though in spanish:
https://www.pabagan.com/problema-con-qtranslate-y-formato-de-fecha-de-publicacion/#reply-title
My major problem was that, after I installed qtranslate plugin, I needed to change one setting for the date.
Forum: Fixing WordPress
In reply to: Editing menu html codeI have no call to the function wp_nav_menu in my header.php file…
Forum: Fixing WordPress
In reply to: Editing menu html codeI just checked it. I still can find out where the menu’s HTML code is set. Only php and they don’t specify in which files in some cases.
Forum: Fixing WordPress
In reply to: Editing menu html codeYes
Forum: Fixing WordPress
In reply to: Editing menu html codeWhat do you mean?
Forum: Fixing WordPress
In reply to: Editing menu html codeI’m sorry, the version is the last one! I got confused. About the theme, I am using a customized one, but I didn’t build it.
I just realised how to do it. My last question is: can we create unlimited number of contact forms?
Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostFinally I was able to solve my problem. Permalinks were the problem, and I had to edit the file httpd.conf from xampp/appache in order to fix it. The line which was causing problems was #221, where I had to write:
<Directory />
AllowOverride All
Require all denied
</Directory>Then, I restarted xampp and everything was solved. Anyway, thank you all for your help.
Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostYep, apache was restarted. And about the links u offer, they are just explaining how to install xampp, which I already followed…
What I dont know is if maybe it would be worth to install Xampp again, and try to insert a new WordPress version in it, setting everything again, and then inserting my wp-content folder, to see if this solve the problem… Maybe this could fix it?Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostmod_write is enabled in my .htacces.
I followed some of the steps there, but still not working. They say if I can’t still get it working, write here…
I inserted this to .httpd.conf:<Directory /> Options FollowSymLinks AllowOverride All </Directory>
instead of the one I had with none allowoverride.
I also added:<Directory /var/www/html> # ... other directives... AllowOverride All </Directory>
In wp-includes/vars.php file, I did this:
//$is_apache = (strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false); $is_apache = 1;
(Actually, I have a different code than the one it says Im supposed to have…)
Finally, I added this to the .htaccess file:<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
The only change is that now, when i click on guide link, I get localhost/xampp page, my xampp panel.
Any idea?
Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostNo! I cannot see it with /guide URL!!! here the problem. I cant get any link working if the link needs to be shown in localhost.
Forum: Fixing WordPress
In reply to: call to undefined function get_header() LOCALHOSTYes, I have the guide page created as admin in the WordPress backend. The error is:
Fatal error: Call to undefined function get_header() in C:\xampp\htdocs\web\wp-content\themes\t\guide.php on line 7Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostForum: Localhost Installs
In reply to: Modifying nav-menu from localhostI was still checking, and with the following code I got a redirection to localhost/xampp:
<div class="txt"> <h4>Visit our product guide</h4> <a href="<?php bloginfo('template_directory'); ?>/guide" class="boton">View guide</a> </div>
Hovering over the button, i can see the right location of the files (including guide.php). If I add “.php” following “/guide” I get again the Fatal error:
Call to undefined function get_header() in C:\xampp\htdocs\..\guide.php on line 7.Any new idea?
Forum: Localhost Installs
In reply to: Modifying nav-menu from localhostI did nothing in the .htaccess file, from the root folder. Is it necessary to set any change?