I just received this WordPress project in work and i have little experience in WordPress, i need to edit title and button because it has wrong URL link but i cant find where this this page is in the project. this is how the page looks from inspect :
```<html lang="en-US" class="no-js"><head>``
<!-- keywords -->
<meta charset="UTF-8">
<!-- viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- profile -->
<link rel="profile" href="https://gmpg.org/xfn/11">
<title> big tag company</title>
and this is the page in the project :
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<!-- keywords -->
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<!-- viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<!-- profile -->
<link rel="profile" href="https://gmpg.org/xfn/11" />
<?php wp_head(); ?>
</head>
<?php
$litho_custom_attr_body = '';
if ( function_exists( 'litho_custom_attr_helper_obj' ) ) {
ob_start();
litho_custom_attr_helper_obj()->attr( 'body' );
$litho_custom_attr_body = ob_get_contents();
ob_end_clean();
}
?>
<body <?php body_class();?> <?php echo sprintf( '%s', $litho_custom_attr_body ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>>
<?php
if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
} else {
do_action( 'wp_body_open' );
}
get_template_part( 'templates/header/header', 'wrapper' );
it seems like it is in get_head() function ? if thats right how can i find this function please ?
this is tamplate/header.php file :
<?php
/**
* The template for displaying the main header builder
*
* @package Litho
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$litho_data_sticky_column = '';
$litho_nav_class = array( 'header-common-wrapper', 'header-img' );
$litho_enable_header_general = litho_builder_customize_option( 'litho_enable_header_general', '1' );
$litho_enable_header = litho_builder_option( 'litho_enable_header', '1', $litho_enable_header_general );
$litho_header_section_id = litho_builder_option( 'litho_header_section', '', $litho_enable_header_general );
/* Main header section */
if ( 1 == $litho_enable_header && ! empty( $litho_header_section_id ) ) {
$litho_header_sticky_type = get_post_meta( $litho_header_section_id, '_litho_header_sticky_type', true ); /* Header sticky type */
$litho_template_header_style = get_post_meta( $litho_header_section_id, '_litho_template_header_style', true ); /* Header style */
$litho_template_header_style = ( ! empty( $litho_template_header_style ) ) ? $litho_template_header_style : 'standard';
$litho_header_sticky_type = ( ! empty( $litho_header_sticky_type ) ) ? $litho_header_sticky_type : '';
$litho_nav_class[] = $litho_template_header_style;
$litho_nav_class[] = 'navbar';
switch ( $litho_template_header_style ) {
case 'standard':
default:
$litho_nav_class[] = 'navbar-expand-lg';
if ( ! empty( $litho_header_sticky_type ) ) {
$litho_nav_class[] = $litho_header_sticky_type;
}
if ( 'no-sticky' != $litho_header_sticky_type ) {
$litho_nav_class[] = 'fixed-top';
}
break;
case 'left-menu-classic':
case 'left-menu-modern':
$litho_nav_class[] = 'header-left-wrapper';
$litho_data_sticky_column = ' data-sticky_column';
break;
}
}
$litho_header_wrapper_class = apply_filters( 'litho_main_header_wrapper_class', $litho_nav_class ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
$class = ( is_array( $litho_header_wrapper_class ) ) ? ' ' . implode( ' ', $litho_header_wrapper_class ) : '';
?>
<nav class="<?php echo esc_attr( $class );?>"<?php echo esc_attr( $litho_data_sticky_column );?>>
<?php
if ( current_user_can( 'edit_posts' ) && ! is_customize_preview() && ! empty( $litho_header_section_id ) ) {
$edit_link = add_query_arg(
array(
'post' => $litho_header_section_id,
'action' => 'elementor',
),
admin_url( 'post.php' )
);
?>
<a href="<?php echo esc_url( $edit_link ); ?>" target="_blank" data-placement="right" title="<?php echo esc_attr__( 'Edit header section', 'litho' ) ?>" class="edit-litho-section edit-header litho-tooltip">
<i class="ti-pencil"></i>
</a>
<?php
}
?>
<?php do_action( 'theme_header' ); ?>
</nav>```
Please go to wp-content->themes->current activated theme directory->templates->header->open header.php file
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.
PHP (from the English Hypertext Preprocessor - hypertext preprocessor) is a scripting programming language for developing web applications. Supported by most hosting providers, it is one of the most popular tools for creating dynamic websites.
The PHP scripting language has gained wide popularity due to its processing speed, simplicity, cross-platform, functionality and distribution of source codes under its own license.
https://www.php.net/
HTML (English "hyper text markup language" - hypertext markup language) is a special markup language that is used to create sites on the Internet.
Browsers understand html perfectly and can interpret it in an understandable way. In general, any page on the site is html-code, which the browser translates into a user-friendly form. By the way, the code of any page is available to everyone.
https://www.w3.org/html/
Welcome to the Q&A site for web developers. Here you can ask a question about the problem you are facing and get answers from other experts. We have created a user-friendly interface so that you can quickly and free of charge ask a question about a web programming problem. We also invite other experts to join our community and help other members who ask questions. In addition, you can use our search for questions with a solution.
Ask about the real problem you are facing. Describe in detail what you are doing and what you want to achieve.
Our goal is to create a strong community in which everyone will support each other. If you find a question and know the answer to it, help others with your knowledge.