muhammadibtehaj
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Membership Website@vladytimy forget about Memberpress. Is there any way that I can add this kind of condition to a page?
For example, only after watching the video, a new link appears and that takes the person to Survey Monkey form and only after completing that form, the person can go to the next page and then start signing up.
Forum: Developing with WordPress
In reply to: Placing different logos on different pages@tostad I couldn’t find the right place to put code in. This is the code that I am using atm:
if (is_page (‘jumbo-collection’ )) {echo '<img src="Image_link">';} else {echo '<img src="Image_link">';}
I am using Neve theme and following is the header.php file code.
<?php /** * The template for displaying the header * * Displays all of the head element and everything up until the page header div. * * @package Neve * @since 1.0.0 */ $header_classes = apply_filters( 'nv_header_classes', 'header' ); ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php endif; ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?> <?php neve_body_attrs(); ?> > <?php wp_body_open(); ?> <div class="wrapper"> <?php neve_before_header_wrapper_trigger(); ?> <header class="<?php echo esc_attr( $header_classes ); ?>" role="banner"> <a class="neve-skip-link show-on-focus" href="#content" tabindex="0"> <?php echo __( 'Skip to content', 'neve' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </a> <?php neve_before_header_trigger(); if ( apply_filters( 'neve_filter_toggle_content_parts', true, 'header' ) === true ) { do_action( 'neve_do_header' ); } neve_after_header_trigger(); ?> </header> <?php neve_after_header_wrapper_trigger(); ?> <?php do_action( 'neve_before_primary' ); ?> <main id="content" class="neve-main" role="main"> <?php do_action( 'neve_after_primary_start' );
See if you can find the right place to put the code.
ThanksForum: Developing with WordPress
In reply to: Placing different logos on different pagesHello @tostad, I used your code and wrote this:
if (is_page( jumbo-collection ))
{echo ‘‘;}
else
{echo ‘‘;}but it is not displaying the logo in header instead it is displaying logo in the content space. Also the if function is not working too.
Please see the link: https://carattere.org/jumbo-collection/
Thanks
Forum: Developing with WordPress
In reply to: Placing different logos on different pages@tostad What should I write in “{ print first logo }”?
Should I write the link of image?Forum: Developing with WordPress
In reply to: Placing different logos on different pagesNo Andre, I want to print different logos on different pages in one website.
Like on page 1 – logo 1
Page 2 – logo 2Forum: Fixing WordPress
In reply to: Embedding an Excel Calculator in WordPressSteven, I have used this plugin. The calculator is only readable, I want it to be working so that anyone who visits the website can edit and do calculations.
Forum: Fixing WordPress
In reply to: Embedding an Excel Calculator in WordPressIt is not what I want. Is there any other way to do this?
Forum: Fixing WordPress
In reply to: I want to make a insurance calculator on Contact Form 7I am using Gravity Slider Fields by Typewheel and it is not showing up in the conditional field logic, I have tried again and again.
Can you tell me what plugin you used for slider in the demo that you created yesterday?
Also, how can I show the data selected by user in next step of the form?
Forum: Fixing WordPress
In reply to: I want to make a insurance calculator on Contact Form 7Yes, something like this.
In Calculated Field Form I used this code to get the desired result:
(function(){
if (fieldname1 == 1000 && fieldname2 == 3) {
return 103
}
else if (fieldname1 == 1500 && fieldname2 == 3) {
return 132
}
else if (fieldname1 == 2000 && fieldname2 == 3) {
return 161
}
else if (fieldname1 == 2500 && fieldname2 == 3) {
return 190……. (so on)Now in gravity form, I don’t know the syntax and how to return a fixed value when the user selects a number on a slider and then from 3 years or 4 years. Please help me with the syntax and also how did you gte the value from slider?
Forum: Fixing WordPress
In reply to: I want to make a insurance calculator on Contact Form 7I am trying Gravity Forms right now. Can you guide me on how to return a fixed value from the Gravity Form slider?
For example, I have a slider ranging from 1000 to 6500 and in addition to that a radio button having two choices
01. 3 Years
02. 4 YearsWhat I want to do is when someone selects 1000 Euro on the slider and 3 years on the radio button then the result should be 103 EU.
Can you guide me on how to do that?
Thank you.
Forum: Fixing WordPress
In reply to: I want to make a insurance calculator on Contact Form 7You can see the calculator in this link (https://drive.google.com/drive/folders/16RWCEVQYQzGMH_JbU5FzmB-hdXrK3r78?usp=sharing)
I don’t have much experience in PHP, I am still immature in this and I don’t think I’ll be able to use get function properly.
I’ll try doing this from Gravity Form and inform you if this worked or not.
Also please see the images of the calculator. I have named them numerically so that you can know which image will come first and which will come later.
Thank you for your help.
Thank you very much.
Thank you for your response. Can you answer to this also?
I want the text in Calculated Field Form to be displayed on the left side and the input field displayed on the right side of the form.