H
H
hypero2018-03-15 12:08:59
WordPress
hypero, 2018-03-15 12:08:59

How to find change data in Wordpress?

Hello.
How to find a file or piece of code to change the data of this function?
Header.php contains the following piece of code:
<?php mpcth_display_secondary_header(); ?>
It displays the top top bar on the site.
Where can I find a piece of his code to change for example the text in this top bar?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Mr Crabbz, 2018-03-15
@Punkie

5aaa3d423b250896315949.png

O
Orkhan Hasanli, 2018-03-15
@azerphoenix

Hello!
Firstly, let's search in all files mpcth_display_secondary_header
Secondly, without seeing the contents of header.php it's hard to say something. Most likely you have a premium theme... This code can be both in functions.php and in other templates... headerp.hp template-parts/.... product-parts/.... there are a lot of options. Without seeing the topic, no one will tell you)

I
Igor Vorotnev, 2018-03-15
@HeadOnFire

1. Start already using a normal IDE, such as PhpStorm.
2. In the IDE, simply Ctrl/Cmd + Click on a function and its definition will open.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question