Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 691 through 705 (of 2,000 total)
  • Author
    Search Results
  • #103012
    EdgarEdgar
    Member
    Member since: March 25, 2017

    Hi, can you help me, I have a old site with the SKT Desing Agency WordPress theme, but now I like to remove the link Read more in section 2 (whychooseus), I try to remove it from the Php function, but I can not do it, please can you help me. Thank you

    #102989

    In reply to: Donation THeme Footer

    LauraLaura
    Participant
    • Topics: 158
    • Replies: 195
    • Total: 353
    Member since: July 21, 2016

    Hello, we have fixed the issue. All sections responded to the same code in front-data.php except for the section 3) If I added the id=”section3″ in the same line as the rest of the sections, it wouldn’t work at all. So I added it in the div. It works, but the sections jumps too high.
    Here are the code and screenshot:
    This is the working code for section 2 you can see where I added id=”section2″
    —- `<!– Home Section 2 –>
    <?php if($complete[‘hide_boxes_section2’] ==”){?>
    <section class=”home2_section_area <?php if($complete[‘section2_bg_image’]){ ?>home2_section_area_bg<?php } ?>” <?php if(!empty($complete[‘section2_bg_video’])){ ?>data-vidbg-bg=”mp4: <?php $sec2bgvideo = $complete[‘section2_bg_video’]; echo do_shortcode($sec2bgvideo); ?>” data-vidbg-options=”loop: true, muted: true, overlay: false”<?php } ?> id=”section2″>
    <div class=”center”>
    <div class=”home_section2_content”>
    <?php …`
    —–

    Here is the code for section 3. every time i added in the same spot it wouldn’t work in front end. You can see where I added the id because it doesn’t work if I add it to the same place.

    <!-- Home Section 3 -->
         <?php if($complete['hide_boxes_section3'] ==''){?>
        <section id="demos" class="home3_section_area <?php if($complete['section3_bg_image']){ ?>home3_section_area_bg<?php } ?>" <?php if(!empty($complete['section3_bg_video'])){ ?>data-vidbg-bg="mp4: <?php $sec3bgvideo = $complete['section3_bg_video']; echo do_shortcode($sec3bgvideo); ?>" data-vidbg-options="loop: true, muted: true, overlay: false"<?php } ?>>
        	<div class="center"  id="section3">
                <div class="home_section3_content">
                        <?php

    Here is a link to the screenshot of the issue:
    https://imgur.com/a/WkEyZPD

    Here is what it is supposed to look like
    https://imgur.com/a/vachYjA

    Thank you

    #102966

    In reply to: Donation THeme Footer

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Kindly edit theme’s index.php file and add id to every section like: id=”section1″ – id=”section2″ – id=”section3″ etc.

    Regards,
    Shri

    #102443
    Michelle CostaMichelle Costa
    Participant
    Member since: April 26, 2015

    Please see below what I need help with:

    • Change the “Welcome to Griffin Solutions” font colour on section 1 to #000000?
    • Have the slider banner text not show on mobile version, only the logo
    • Change the mobile top menu from grey to white please
    • Code for the Client Logo Carousel does not work, please assist on section 10

    Username: xxxxx
    Password: xxxxxxx

    https://griffinsolutions.co.za/wp_griffinsolutions/wp-login.php

    #102377
    andre.costaandre.costa
    Participant
    • Topics: 11
    • Replies: 14
    • Total: 25
    Member since: March 2, 2018

    Hi,

    Same here 🙁

    How can I put this code / text in the copyright area of the site: http://linhatotdr.cluster026.hosting.ovh.net

    <p>© Copyright 2018 LinhaTotal, Lda. |
    Créditos |
    Termos & Condições</p>

    Thanks in Advance,
    André

    #102366
    wilfriedwilfried
    Participant
    • Topics: 43
    • Replies: 105
    • Total: 148
    Member since: December 7, 2017

    I found it myself. In case someone else need this. There are 2 options, first is fast, second is preferable:

    1. you an edit the code in wp-content/themes/skt-gardening/sktframe/core-functions.php like this:
    function clientbox($atts){
    extract( shortcode_atts(array(
    ‘url’ => ‘url’,
    ‘image’ => ‘image’,
    ‘alt’ => ‘alt’
    ), $atts));

    return ‘
    <div class=”clientbox”>
    '.$alt.'`

    2. You can make a plugin for it (looks safer) where you can add other things as well. Create a folder eg: ‘my-thing’, put there a file in and name it ‘my-thing.php’, then put the following in that file:

    <?php
    /*
      Plugin Name: My Thing
      Description: some description
      Author: your name
      Version: 1.0
      Author URI: http://your site
    */
    
    // Shortcode MyClient
    /*[myclient url="#" image="image" alt="alt"]*/
    function myclientbox($atts){
    		extract( shortcode_atts(array(
    			'url' => 'url',
    			'image' => 'image',
    			'alt' => 'alt'
    		), $atts));
    		
    		return '
                    <div class="clientbox">
                        <a href="'.$url.'" target="_blank"><img src="'.$image.'" alt="'.$alt.'" title="'.$alt.'" /></a>
                    </div>
    		';
    }
    add_shortcode('myclient','myclientbox');

    Then use the shortcode [myclient] instead of [client].

    Of course if someone knows other / better options the please share 😉

    #102337

    In reply to: PHP 7

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi Fay,

    Yes but use PHP 7.1 and yes they are fully compatible with PHP 7.1 check if your plugins are.

    WordPress latest version is also compatible.

    Regards,
    Shri

    #102297

    Topic: PHP 7

    in forum All Other Themes
    Fay DixonFay Dixon
    Participant
    Member since: September 8, 2016

    Hello

    I’m wondering if you could please tell me if your themes are compatible with PHP 7

    #102261
    tarekkaram0tarekkaram0
    Member
    • Topics: 4
    • Replies: 11
    • Total: 15
    Member since: July 12, 2017

    I don’t have any SVG plugins. This problem occurred after I updated my wordpress to latest version, changed to PHP 7 and added a simple SSL plug in to make my website https:// … deactivating the Simple SSL plugin does not fix the problem.

    #102236

    In reply to: Spirited Pro

    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Hi,

    Kindly edit theme’s header.php file and paste below code just before tag.

    <script src="https://use.fontawesome.com/c4d7d70cd9.js"></script>

    Regards,
    Shri

    #102215
    tarekkaram0tarekkaram0
    Member
    Member since: July 12, 2017

    I recently upgraded WordPress to its newest version. I also updated to PHP 7. Now on my website the top left social icons show “?” and does not work. This is what my code looks like.

    [social_area]
    [social icon=”yelp” link=”https://www.yelp.com/biz/atlas-signs-van-nuys”%5D
    [social icon=”instagram” link=”https://www.instagram.com/atlassignsca”%5D
    [social icon=”email” link=”#”]
    [/social_area]

    My website: http://www.atlassigns.net

    #102213
    steve25steve25
    Participant
    Member since: January 8, 2018

    All of my blog posts are being truncated and no linked title or “read more” button is showing up to read more of the post.
    I turned off the theme and loaded another one, and the posts worked fine. Any idea how to fix this?
    Here’s a sample: https://cybersecurityassociationofmichigan.org/index.php/news/

    #102058
    Sonal S SinhaSonal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6995
    • Total: 7005
    Member since: June 12, 2013

    Please don’t bump into other posts they also get an email unnecessarily.

    Click on create topic to have your separate issue.

    Answer to your above query is yes only way to change is via the PHP file or else use a widget of contact form plugin to replace ours.

    Regards,
    Shri

    #102041
    manishmo2007manishmo2007
    Participant
    • Topics: 2
    • Replies: 14
    • Total: 16
    Member since: August 4, 2017

    Is the only way to change the labels is by changing code (in template-contact.php)?

    Is there a way to add new fields here? E.g. separate field for Mobile and land line?

    #102024

    In reply to: Banking Sector Theme

    Sonal S SinhaSonal S Sinha
    Moderator
    • Topics: 0
    • Replies: 31277
    • Total: 31277
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance >> Customize >> Basic >> Scroll down to find Custom CSS and paste there:

    .header-right .emltp { width:30%;}

    Kindly go to header.php

    Find:
    <meta name="viewport" content="width=device-width, initial-scale=1.1"/>

    And replace
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    1. The button on the slider not showing?

    Answer:
    When you add new slide instead of default so first removed all three slides field data Slide Image, Slide Title, Slide Link, Slide Button than add your new slides data.

    Regards,
    Chris

Viewing 15 results - 691 through 705 (of 2,000 total)