daniel-j
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add Login Security to specific pagesThere are a lot of WordPress Plugins for stats. It’s a matter of reviewing each one and seeing which would work best for you. You can try searching the plugins with keywords like ‘visitor tracking‘, ‘visitor stats‘, ‘login tracking‘, etc… for good results.
Forum: Fixing WordPress
In reply to: Code comments not working in Theme EditorI’m glad it worked!
Files with a .php extension can contain a combination of XHTML and PHP (as well as other languages). If you are commenting inside XHTML code the arrows will do the trick. You will want to use the corresponding comment code depending on the coding language as it appears in your web page. Unfortunately there isn’t a universal comment-type for all languages.
<?php get_search_form(); ?> /* The '<?php', and '?>' tags denote php */ <form><h2>Search this site:</h2></form> <!-- The '<form>', and '</form>' tags denote XHTML -->The example above shows how you can combine the two languages and use different comment types in the same document.
Forum: Fixing WordPress
In reply to: Code comments not working in Theme EditorHi captal,
The comment characters you listed are for PHP and CSS. If you are adding comments to XHTML files, you need to use the arrow sequence:
<!-- THIS ARROW STARTS A COMMENT THIS ARROW ENDS A COMMENT -->If you are editing at the code level, anything between the two arrows will not appear on your published page / post.
Cheers
Forum: Fixing WordPress
In reply to: Add Login Security to specific pagesHi abought1,
Once you have created the page, look to the ‘publishing’ tab on the right. Click on the ‘edit’ link next to visibility. Select Private to hide it completely. It will only be available to those who you have provided the exact link. If you select Password protected it is visible but people will have to enter a password to see the page content. You will have to provide them with that password ahead of time. Click on the OK and Update / Publish buttons and you are done.
Cheers!