Change <title> in a wordpress page - php

I have this wordpress page where I use this theme called 'Total', I want to change the <title>, but it is not inside the header file (edit theme), and if I write it, it will automatically be changed for a default title that is provided god knows where.
enter image description here

This theme uses a visual editor, WPBakery, so it's not as straight forward as native WP. Can you add a screen shot. And a little clearer question. Having trouble figuring out exactly what you're asking.

Changing the Title and Tagline
Log in to the WordPress Dashboard.
On the left in the sidebar, hover over “Settings” and click General.
List item The “Site title” and the “Tagline” can be changed here. Enter a new title and tagline. Click Save Changes. Now Visit your WordPress the site and you will see the title and tagline changed.

Related

Permalink edit button not showing for pages or posts in Wordpress Multisite

Using Wordpress Multisite with Wordpress v5.3.2 and Gutenberg Editor, I'm unable to edit permalinks above the title of a page or post. When clicking the title on a page in the editor, I'm presented with the link but no edit button. Is there a function I need to add to the functions.php file in order to enable this?
Changing permalink to posts or pages in Wordpress
Go to Dashboard > Pages > All Pages. Then on the page list, hover on the page name and click 'Quick Edit'.
you should see something like this:
You can change the slug field by placing the new value. Don't forget to save your changes by clicking on the Update button.
Note: I am using version 5.4 and it worked for me. I needed to change some urls for the English version of my website.
Although it was a little late, I decided to answer because other people may be encountering the same problem. I had a lot of difficulty trying to change some urls and only after several attempts I found out by chance.

Wordpress - how to add general content area to a specific “page” that's not actually a page?

I purchased a WP theme https://themeforest.net/item/pressville-municipal-wordpress-theme/19949423 and need to add general content area to the People page: https://preview.themeforest.net/item/pressville-municipal-wordpress-theme/full_screen_preview/19949423?_ga=2.67243158.624148492.1570058772-1881232054.1569979687
The People page is actually a section in the WP dashboard (kind of like Media or Portfolio section) so technically not a editable page in the WP backend. I contacted the theme creator and was told that it's customization (not included w/theme) and advised to hard code text into the php. The problem with that is it's not accessible to other users who have no design or code background.. Is there a way to create a page with editable content block for this People section so it's easily editable without knowing code?
Also, the “People” header text changes if you click on subcategories (to “Elected Officials”) for example. When you click a subcategory, the main menu (People page) no longer shows as active which can be confusing to users. Is there a way to fix this so header stays consistent (like Contact page header) and menu item shows active regardless of what subcategory(All, Elected Officials, etc) is selected on the People page? Thanks.
You can create a regular page called "People's page" and add text to it. Then if you want to show that page's content into a PHP template you can do the following:
Step 1. Create the Function
Open up your theme’s functions.php file and paste the following code, likely at the bottom of the page.
function cn_include_content($pid) {
$thepageinquestion = get_post($pid);
$content = $thepageinquestion->post_content;
$content = apply_filters('the_content', $content);
echo $content;
}
Step 2. Use the Function in a Template File
Next, open up the specific template file you want to include the Page’s content on and paste in the function:
<?php cn_include_content(31); ?>
Replace 31 with the ID of the Page you want to include. How to find a page ID.
Is sounds like you need to go to your wp-admin and click appearance/ menus. Here you can remove these menu items that might be default but have no pages associated with them. You can then add the pages you want and come back and create a custom menu. Hope that answers the first part of your question.

get_post_meta in wordpress custom theme

i have a client that gave me his wordpress site for re-coding.
and i saw he have a custom theme.
so i tried to edit his site homepage, using the css stylsheet file and i saw that the file containing some code that i can't understant and i will be happy if someone can help me understand what is it and hoe can i edit / find what is this.
i asaw when i'm printing it, it containg somthing that similar to a css class.
this is it:
<?php echo get_post_meta(6,'home-news-title',true);?>
That line displays on the frontend the content of a meta-key named "home-news-title" for the post which ID is 6.
You can find the corresponding post in the admin backend by just hovering the mouse on the post title in the post list window. The ID is shown in the associated URL after ..post.php?post=XX

WordPress Genisis Featured page widget with an iframe

I have a clients website that uses a WordPress Genisis Framework Child Theme.
One of the widgets that are built into the theme is a featured page widget. It is placed on the front of the page. The widget gathers 250 characters and displays that on the front page along with the featured image from that page.
The problem is that because the next page only contains an iframe from another website the WordPress widget does not grab the text, so it leaves a nice blank hole on the clients homepage. The previous developer set it up this way and didn't bother to plug the hole.
Any ideas how I could get the text to display correctly.
I am familiar with most web languages and the WordPress back end so any suggestions would help.
You can try to place a hidden div on the page where you paste in the text that you want. It wont be dynamic if the integrated page changes but it could be a possible work around.

Issue with wordpress plugin

What may be reason when i am using multiple plugins then some plugin showing in widget sidebar
but some or not like
plugin "wp-auctions" is showing in widget sidebar but
plugin "ultimate-auction" is not showing.
I am using "twentythirteen" theme.
please help me.
Well, take a look at this, http://wordpress.org/plugins/ultimate-auction/installation/
It seemed ultimate-auction is used on a page, not as a widget
Try create a new Page:
Enter this text "[wdm_auction_listing]" as a shortcode inside this new
page and publish it.
Then visit this page to see the auction list.
Goto the Admin page, choose Appearance->Widgets, check Available Widgets on the left side, ultimate-auction might be there, and you need drag it to the Main Widget Area on the right side.

Categories