OldStick
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Zerif Lite] Zerif Lite child themeHi ericmulder. Thnx for your child theme. Unfortunately it was the same as what I had already been trying. On reflection, do I need a child theme? If a new version of my chosen them includes alterations to files which I have also altered in my child theme (header.php, footer.php, functions.php, front-page.php, customizer.php and several others) then it seems that my child theme will override the updates? If my child theme files are no longer compatible with the new version of the original theme then I have a problem! For the time being therefore I have carefully noted all my updates. When a new version of Zerif-lite appears I have to update the files according to my notes, rather than simply overriding the files with my own updated version of the old files. That seems safer to me?
Forum: Themes and Templates
In reply to: [Zerif Lite] Zerif Lite child themeI really would be grateful for more information about importing zerif-lite css and/or enqueuing zerif-lite css.
For instance in the function.php shown by ericmulder and pascalvd, in both cases there is no closing php tag… ?>
Isn’t this required?
And how about header.php, footer.php etc. I have made several alterations to all these files in the original zerif-lite theme. Do I just need to add my modified versions of these files in my child theme folder? I am trying to create a child-theme, but my first attempt completely messed up the site (on local host).
Hardeep, why do we need a plugin to import customization? And how should we configure the plugin
Can anyone show the code for style.css and functions.php for a working version of a zerif-lite child theme?Forum: Plugins
In reply to: [Polylang] no language switch shown in menu of theme zerif-lie with polylangI’m not sure if this is at all relevant…. but zerif-lite only seems to support 1 menu. Surely if you are using 3 different language menus you need to modify the theme to support more than 1 menu? I was trying to do this with the help of
but I haven’t yet succeeded. I was trying to add a new location for a second menu (which would replace the primary menu on certain chosen pages). My first problem was that the function:
register_nav_menus(array(
‘primary’ => __(‘Primary Menu’, ‘zerif-lite’),
));uses 2 arguments (Primary Menu and zerif-lite) instead of the single argument ‘header-menu’ or ‘extra-menu’ showin in the WP codex….
Ha – I found it. Look in the folder YrDomain\wp-content\plugins\custom-registration-form-builder-with-submission-manager and read the file country_option_list.php into your favorite text edit program (e.g. notepad). Look at line no. 231 (option value united states) and delete ‘selected’ from the code. If you want to choose another country as default value, you can add ‘selected’ to the code in the line no. of the country you want as default value. Then save the file after editing it and there you go….
Forum: Themes and Templates
In reply to: [Zerif Lite] Where is Subscribe sectionI just tried to post the code I used to do this, but the posting doesn’t show in the forum – my reply remains empty…..
Forum: Themes and Templates
In reply to: [Zerif Lite] Where is Subscribe sectionThnx Hardeep, One answer I have found which may (or may not) be useful to others is: create a page with 2 buttons – one for register and one for login. If a site visitor clicks the register button it should link to a customized registration form (I created mine with plugin ‘Customer User Registration Form Builder’). If the site visitor clicks on login it should link to: https://YourSite.com/wp-login.php.
Forum: Themes and Templates
In reply to: [Zerif Lite] Where is Subscribe sectionHmmm! I just posted a (partial) solution for others, but my posting fails to show in this forum
Forum: Themes and Templates
In reply to: [Zerif Lite] Where is Subscribe sectionThnx Hardeep, One answer I have found which may (or may not) be useful is: create a page with 2 buttons – one for register and one for login. If a site visitor clicks the register button it should link to a customized registration form (I created mine with plugin ‘Customer User Registration Form Builder’). If the site visitor clicks on login it should link to: https://YourSite.com/wp-login.php.
This is the code I inserted in the page to do this:<p><a href="https://localhost/p2p4u/?page_id=281" class="btn btn-primary custom-button blue-btn">Register</a> <a href="https://localhost/p2p4u/wp-login.php" class="btn btn-primary custom-button green-btn">Log in</a></p>
Forum: Themes and Templates
In reply to: Add link image on front page of Zerif Lite ThemeAnd BTW – why does Zerif-lite create buttons on the front page with CSS rather than just using the html button tags?
<a href="https://localhost/p2p4u/?page_id=202" class="btn btn-primary custom-button red-btn">Features</a>
instead of
<a href="https://localhost/p2p4u/?page_id=202"><button type="button">Features</button></a>
Forum: Themes and Templates
In reply to: Add link image on front page of Zerif Lite ThemeThis is weird? I’m a real old nooby, but on WP page edit if I add an image to a page using ‘add media’ I get this code added to the page:
<a href="https://localhost/p2p4u/wp-content/uploads/2015/07/3dsuperman_tiny.png"><img src="https://localhost/p2p4u/wp-content/uploads/2015/07/3dsuperman_tiny.png" alt="3dsuperman_tiny" width="240" height="360" class="aligncenter size-full wp-image-242" /></a>
Why is the anchor tag added? Surely you only need the anchor tag if you want to link the image to another page?Forum: Themes and Templates
In reply to: [Zerif Lite] Sections do not show on static frontpageThnx Carmen
As I learn more about WP and about this theme I am gradually getting where I want to be – also thanks to your help .
I am trying to create a sort of crowd funding site to introduce investors to airline pilots who are seeking to refinance their training loans. I have a database with around 200 airline pilots and I hope to get the website functioning a.s.a.p.
See here: p2p4u-finance.com (our pilot members are currently being charged extortionate interest rates by the bank – but that’s another story). My main problem now is to introduce a customized login and registration form. I have tried various plugins on my Wampserver development site and some of them seem quite promising.
Regards
ChristianForum: Themes and Templates
In reply to: [Zerif Lite] Lite vs ProForum: Plugins
In reply to: [Polylang] Polylang Strings Translation IssuesI came to WordPress from Joomla since the rest of the world seems to be using WordPress these days. I had also heard that WP is no longer just for blog platforms. That may be the case, but for a nooby it is really confusing. Most of the documentation still assumes your WP site is for blogs. I want to create a completely bi-lingual site. I am not worried about the back-end (sorry ‘dashboard’) and I will not be using blog postings on the site – with the exception of a link to a ‘forum’ where registered users can post messages (in my day that was called a bulletin board ?? ). Will Polylang be the answer for me? See: p2p4u-finance.com