New answers tagged pages
0
Check this tutorial to perform this task.
Url - https://www.wpbeginner.com/wp-tutorials/how-to-display-recent-posts-from-a-specific-category-in-wordpress/
-1
I finally found a solution. Not the best one, but it's working.
remove_meta_box and similar functions only works after the meta_box is added. Otherwise there is nothing to remove. So unfortunally that didn't work out for me.
What was really working is a simple # to comment a line out of meta-boxes.php
if ( post_type_supports( $post_type, 'page-attributes' ) |...
0
there is a chance it could be related to .htaccess file and check this out, maybe it helps
https://www.deweyjames.com/wordpress-download-file-instead-of-opening-site/
I had similar problem and this was an issue
1
You can make each page a parent of one another.
To assign a parent page to a page, navigate to the page you want to assign a parent page too, then in the right sidebar you will see Page Attributes and a dropdown menu labelled Parent, whatever page you selected in that list will become its parent.
So, Solutions will be the parent of Machines and Machines will ...
0
First change password function to MD5 in wp_users table in database.
<?php
/*
* Template Name: Login Template Page
*/
get_header();
?>
<div class="login-branding">
<p class="login-desc" style="">Login</p>
<div class="login-form">
<?php
$args = array(
'redirect' =&...
1
you can insert it in single.php.
find the_content; and that is your content, you can insert above or below the_content;
0
In functions.php is_page() with the add_action('wp', 'your_function_name'); works fine.
0
There is no such a solution out of the box, and any files uploaded to WP are publically available to anyone who can access the domain, so you might want to keep that in mind.
You'll need to code a solution, possibly as follows:
on post creation, use wp_insert_post to create the require folder.
Use something like glob($root_folder.$post_slug . "/*.{jpg,...
1
Combined Example ( Tested in 5.2 )
Step 1:
Frontend Form
<form id="form-password-reset" action="<?php echo wp_lostpassword_url(); ?>" method="post">
<?php wp_nonce_field( 'ajax-resetpassword-nonce', 'security' ); ?>
<div class="text-align-center margin-bottom-32">
<h3 class="...
0
A little late, but kind of...
You can do this:
<?php $map = get_page_by_title( 'map' ); ?>
<a href="<?php echo get_page_link('$map->ID'); ?>">Map</a>
That's how I do it :-)
Thanks,
Josh
Top 50 recent answers are included
Related Tags
pages × 2420posts × 382
page-template × 176
customization × 164
menus × 151
templates × 148
php × 142
plugins × 130
custom-post-types × 128
categories × 124
permalinks × 123
loop × 94
child-pages × 84
theme-development × 82
functions × 81
wp-query × 76
admin × 65
themes × 64
urls × 59
homepage × 56
pagination × 54
content × 52
wp-admin × 50
custom-field × 49
redirect × 46