Search Results for 'php'

Home Forums Search Search Results for 'php'

Viewing 15 results - 331 through 345 (of 2,000 total)
  • Author
    Search Results
  • #170676
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    Just wanted to circle around about this. I’ve done some research and seen that some people intentionally have the alt text pull the title. Perhaps it’s new information that the ADA compliance software flags it as redundant then?

    I found a couple of sources that say this is the code to pull up the alt text from the media library:

    // retrieve alt (which is stored as metadata to a post)
    $alt = get_post_meta($thumbnail_id, '_wp_attachment_image_alt', true);

    or this…

    <?php $alt_text = get_post_meta($img_id , '_wp_attachment_image_alt', true); ?>
    <h1 class="entry-title"><?php echo $alt_text; ?></h1>

    Perhaps, I’ll have to just start experimenting (after backing up my site, of course), but since y’all are the experts, I’d love to see if you have insight on how to recode the Photo Gallery so the alt text is the alt text from the media library, NOT the title again.

    Thank you!
    Casara

    #170665
    Robert GianfeliceRobert Gianfelice
    Participant
    Member since: October 20, 2020

    Currently using the SKT Parallax Me Pro theme

    1. I need to remove the brackets that appear around the Team member designation, see demo: http://rochford.arvox.com/our-team/stefanie-rochford/

    Currently displays the designation with brackets (President)
    I wish to display the designation only President

    Which php page is used for the Team members?

    2. Testimonials randomly display the company name and designation for each Testimonial, I would like to always show the Company name and designation and hide the Image. I am already hiding the Testimonial image and using the full width to show the Tesimonial text only with this custom CSS:
    .testimonial-image { display:none}
    .testimonilacontent { width:95%}
    .bx-viewport {height:300px;}

    Could this css be the cause for the company name and designation appearing randomly?

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

    Hi,

    Kindly go to sktframe >> core-function.php line No 991 and change project to myproject.

    See screenshot:
    https://imgur.com/a/RU8lD8R

    Regards,
    Dave

    #170350
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    Do you just mean the URL for the page of the website that has the photo gallery?

    Or is there some URL I can/should pull that would be specific to only the photo gallery?

    Assuming it’s the former, there are two pages that utilize the photo gallery.
    The page linked in the very first post on this thread is the one that has three category-specific photo galleries (under OUR CLIENTS)! (I’d relink it again, but this post didn’t go through when I linked it and I understand that sometimes too many URLs is the cause of that).
    This page has one category-specific photo gallery: https://www.ramolawpc.com/refresh/financing-legal/

    I did some review in the theme files myself and within sktframe, in the corefunctions.php, I see this code, starting line 808:

    		$pfStr .= '<li data-id="id-'.$j.'" data-type="cat-item-'.implode(' ', $slugAr).'" class="portfolio-item2">
     <a class="image-zoom" href="'.( ($videoUrl) ? $videoUrl : $imgSrc[0] ).'" rel="prettyPhoto[gallery]" title="'.get_the_title().'"><div><span class="image-block"><img src="'.$imgSrc[0].'" alt="'.get_the_title().'" title="'.get_the_title().'"/></span><h3 class="gallerytitle">'.get_the_title().'</h3></div></a></li>';

    It seems to me that

    alt="'.get_the_title().'"

    might be the exact cause of my problem!

    I would love it if the alt pulled from the ALT field in the media library INSTEAD of the title.

    Do you know what code I would replace “‘.get_the_title().'” with to have it pull up the alt text instead?

    Thank you!
    Casara

    #170272
    Casara ClarkCasara Clark
    Participant
    • Topics: 32
    • Replies: 49
    • Total: 81
    Member since: April 24, 2020

    It looks like the “code” tool ended up cutting off the text, so recopying the error here:

    An active PHP session was detected | Performance
    A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.

    #170271
    Casara ClarkCasara Clark
    Participant
    Member since: April 24, 2020

    Hi!

    I’m using the Business Consulting theme (SKT Builder) on this site: https://www.ramolawpc.com/refresh/

    When it comes to Site Health checks, I’m getting the following error as a “critical issue”:

    An active PHP session was detected | Performance
    A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.

    Do you know what this could be referring to? And how to fix it?

    Thank you!
    Casara

    #169804
    Robert GianfeliceRobert Gianfelice
    Participant
    • Topics: 2
    • Replies: 6
    • Total: 8
    Member since: October 20, 2020

    Thank you for your help I am now able to publish French content for Testimonials and Teams.

    Regarding the logo, I found an article on PolyLang, https://support.pojo.me/docs/polylang-change-logo-every-language/

    As they suggest I created a child theme and added this code to the functions.php, but it does not work!

    Does the logo have a different name in the customizer, I think that might be the issue.

    Code is as follows

    function pojo_polylang_get_multilang_logo( $value ) {
    if ( function_exists( ‘pll_current_language’ ) ) {
    $logos = array(
    ‘en_CA’ => ‘logointerviewjobs_200_icon.png’,
    ‘fr_CA’ => ‘logointerviewjobs_200_icon_fr.png’,
    );
    $default_logo = $logos[‘en_CA’];
    $current_lang = pll_current_language();
    $assets_url = get_stylesheet_directory_uri() . ‘/assets/images/’;
    if ( isset( $logos[ $current_lang ] ) )
    $value = $assets_url . $logos[ $current_lang ];
    else
    $value = $assets_url . $default_logo;
    }
    return $value;
    }
    add_filter( ‘theme_mod_image_logo’, ‘pojo_polylang_get_multilang_logo’ );

    #169347
    Azeze SahriAzeze Sahri
    Participant
    Member since: June 7, 2017

    Hi

    I have running SKT Corp Pro at https://deanysfinance.com/ suddenly the layout ruined. Please help. Running the latest SKT Corp Pro, with the latest php version and latest wp version.

    thanks

    #169151
    RED PILL DesignRED PILL Design
    Participant
    Member since: May 16, 2020

    Hello,

    When analyzing the ShopZee Pro theme wit the Child Theme Configurator Plugin by Lilaea, I get the following warning:
    Notice: Undefined index: image_title in /home/public/sites/www.qrverlichting.nl/wp-content/themes/shopzee-pro/header.php on line 163

    Notice: Undefined index: image_title in /home/public/sites/www.qrverlichting.nl/wp-content/themes/shopzee-pro/header.php on line 163

    Notice: Undefined index: image_title in /home/public/sites/www.qrverlichting.nl/wp-content/themes/shopzee-pro/header.php on line 163

    How do I fix this?

    Kind regards
    Hasso Weeke
    RED PILL Design

    #168640
    H.A.C.H.A.C.
    Participant
    Member since: November 11, 2016

    Hi,
    I get still the failures that the website uses old xml.. Is here a solution for? I have already installed the jquery that was adviced. But is here a permanent solution for?
    Because i get nog complaince from some of my customers.

    See below the failures (because it is big and red the customers are worried about these warnings)

    jQuery.fn.load() is deprecated https://energyxl.nl/
    https://(domain)/wp-content/themes/solar-energy-pro/customizer/assets/customizer.js: jQuery.fn.live() is deprecated https://energyxl.nl/wp-admin/customize.php?url=https%3A%2F%2F(d0main)%2F
    https://(domain)/wp-content/themes/solar-energy-pro/customizer/assets/live.js: jQuery.fn.toggle(handler, handler…) is deprecated
    https://(domain)/?customize_changeset_uuid=f5ed7f23-9a49-429d-818b-a6f39b67d6f1&customize_theme=solar-energy-pro&customize_messenger_channel=preview-0

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

    Hi,

    Kindly go to page-box.php find text read more and change it there.

    Regards,
    Dave

    #168395
    Sedat KarakayaSedat Karakaya
    Participant
    • Topics: 22
    • Replies: 29
    • Total: 51
    Member since: July 20, 2015

    This fixes the text inside the slider. Unfortunately Read more button is not an option to fix like you suggested in the home page slider customizer. Actually the read more button is coming from the theme php files. So please advise the appropriate fix to sort out this issue please.

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

    Hi,

    Kindly edit frontpage/slider.php file, go to line number 14 and make below changes:

    running: true,
    paused: false,
    stop: false,

    Regards,
    Chris

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

    Hi,

    If your slider is not auto rotating?

    Kindly edit frontpage/slider.php file, go to line number 14 and make below changes:

    running: true,
    paused: false,
    stop: false,

    Regards,
    Dave

    #167546
    arroneciecerarroneciecer
    Participant
    Member since: February 19, 2019

    Hello
    We brought Fundraiser – Responsive WordPress Theme since February 19, 2019, and Now I cannot edit my page contents and photographs and when I try to edit the page show me 403 Forbidden Access to this resource on the server is denied!
    . I already try to fix Plugin,htaccess File and File Permissions through Google and Youtube, and non of these can’t solve the problem I don’t how to do. But I can create a new page and contents not using your theme coding or some data that give us when brought the theme.

Viewing 15 results - 331 through 345 (of 2,000 total)