Used for questions about Wordpress ( from https://codex.wordpress.org/ : WordPress Codex, the online manual for WordPress and a living repository for WordPress information and documentation)
Questions tagged [codex]
80 questions
-1
votes
1 answer
Wordpress resize image with custom file name
I have used the wordpress add_image_size function on my theme function.php
and works fine but not for what I need.
I use the function in the soft proportional crop mode ex: add_image_size('mySIZE', 420, 9999)
witch means that the height of the image…

diegoddox
- 593
- 7
- 23
-2
votes
1 answer
Unable to add menu items in menu structure section
I am trying to add pages to menu but when I click the button "Add to Menu" the menu structure section showing me this message "Drag each item into the order you prefer. Click the arrow on the right of the item to reveal additional configuration…

Developer_world
- 155
- 2
- 3
- 11
-3
votes
3 answers
Get Page Name and Not Slug in WordPress
I am using the code below to get y name of my wordpress page.
$pagename = $post->post_name;
The problem is that I'm getting a slug.
I get "wedding-cakes" instead of "Wedding Cakes"
How do I get the name "Wedding Cakes"?

John Carson
- 35
- 1
- 6
-3
votes
1 answer
What is the name of the function to show page view count in Wordpress?
I know get_the_date() is show Date of post.
I know get_the_id() is show ID of post.
But I don't know name of the function to get the numebr of page views
Please help me to find name of this function.
***********edit******
Now i can find . . .…

user3812985
- 3
- 1
-4
votes
1 answer
wordpress multiple single page
Hi I have this function to call a simple page template I have created for the category event, which works great, but I'm struggling to format the function code correctly to add more, i thought it would be a question of adding elseif statement, but I…

stiwobox
- 1
- 1