Custom post type paging return home page

I am having problem with Custom post type paging. Clicking on 2nd page of paging through back to home page. Permalinks flush/refreshed and i am using simple code to show custom post.

following is my code

$  cpt_type =  get_the_title(); $  paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $  custom_terms = get_terms('types'); $  args = array('posts_per_page' => 4, 'post_type' => $  cpt_type, 'paged' => $  paged, 'order', 'desc'/*, 'tax_query' => array( array('taxonomy' => 'type', 'field' => 'slug', 'terms' => $  custom_term->slug ))*/); $  customPostQuery = new WP_Query($  args); if($  customPostQuery->have_posts() ):     while($  customPostQuery->have_posts()) : $  customPostQuery->the_post();         global $  post;  <h4>Terms: <?php $  custom_term->name; ?></h4> <h3 class ="cq-h3"><a href="<?php the_permalink(); ?>" ><?php the_title(); ?></a></h3> <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('thumbnail'); ?></a> <p><?php echo the_content(); ?></p>  endwhile;     function cpt_pagination($  pages = '', $  range = 4){         $  showitems = ($  range * 2)+1;         global $  paged;         if(empty($  paged)) $  paged = 1;         if($  pages == ''){             global $  wp_query;             $  pages = $  wp_query->max_num_pages;             if(!$  pages){                 $  pages = 1;             }         }         if(1 != $  pages){             echo "<nav aria-label='Page navigation example'>  <ul class='pagination'> <span>Page ".$  paged." of ".$  pages."</span>";             if($  paged > 2 && $  paged > $  range+1 && $  showitems < $  pages) echo "<a href='".get_pagenum_link(1)."'>&laquo; First</a>";             if($  paged > 1 && $  showitems < $  pages) echo "<a href='".get_pagenum_link($  paged - 1)."'>&lsaquo; Previous</a>";             for ($  i=1; $  i <= $  pages; $  i++){                 if (1 != $  pages &&( !($  i >= $  paged+$  range+1 || $  i <= $  paged-$  range-1) || $  pages <= $  showitems )){                     echo ($  paged == $  i)? "<li class=\"page-item active\"><a class='page-link'>".$  i."</a></li>":"<li class='page-item'> <a href='".get_pagenum_link($  i)."' class=\"page-link\">".$  i."</a></li>";                 }             }             if ($  paged < $  pages && $  showitems < $  pages) echo " <li class='page-item'><a class='page-link' href=\"".get_pagenum_link($  paged + 1)."\">i class='flaticon flaticon-back'></i></a></li>";             if ($  paged < $  pages-1 &&  $  paged+$  range-1 < $  pages && $  showitems < $  pages) echo " <li class='page-item'><a class='page-link' href='".get_pagenum_link($  pages)."'><i class='flaticon flaticon-arrow'></i></a></li>";             echo "</ul></nav>\n";         }     }     if (function_exists("cpt_pagination")) {         cpt_pagination($  customPostQuery->max_num_pages);     } 

kindly correct me where i’ve placed wrong code. my cpt is ‘lectures’

wp-blog-header.php): failed to open stream: No such file or directory in /home/

Need help with current error below. WP website is down and cannot even login to WP-admin. Anyone available to help resolve problem?

Warning: require(/home/mdvince/public_html/wp-blog-header.php): failed to open stream: No such file or directory in /home/mdvince/public_html/index.php on line 17

Fatal error: require(): Failed opening required ‘/home/mdvince/public_html/wp-blog-header.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’) in /home/mdvince/public_html/index.php on line 17

I have duplicate home page, How Can I fix it?

Using some website audit tools I found that it says a lot that I have a duplicate content like so: 

in my sitemap I only have:

<url>   <loc></loc>      <xhtml:link rel="alternate"                hreflang="it"                href=""/>     <xhtml:link rel="alternate"                hreflang="en"                href=""/> </url> 

I don’t know why google splits it up into two links. How can I fix it?

(PS and doesn’t give me this problem )

Premium HOME OFFICE Amazon & eBay Affiliate Website Auto Updates Free Hosting

This is the perfect Website for beginners wanting to create an online income with a blog and affiliate store combo. Everything is set up for you and ready to go!

Ready to Start A New Hassle-free Online Income? Then Read On! is a stunning affiliate blog + store built using WordPress and the Intelligent Fresh Store System. It is fully loaded with Amazon and eBay products and is ready to go.

No maintenance needed – everything is…

Premium HOME OFFICE Amazon & eBay Affiliate Website Auto Updates Free Hosting

What does a Deep Gnome home look like?

Are there any descriptions of Deep Gnome (Svirfneblin) homes?

I am making some research notes for how my magnificent mansion might look, and have searched for descriptions of a Deep Gnome home, but haven’t managed to find any.

Ideally I would like a wizard tower or upper class home, but really any house or architecture of any type would be useful. A picture would be very helpful too.

I only really have 5e sourcebooks, but have read the Blindgenstone section of Out of the Abyss, and it is very sparse on physical descriptions of the entire are, there is even a residential area but the only useful information is that deep gnome hovels have no doors. There is also a grand hall that has no description whatsoever!

I am happy for answers from any edition, including literature, video games and any other official source. If setting matters I would say Forgotten Realms, but I don’t know if it matters or not as I haven’t found any information about deep gnomes at all in what little of other settings I have read. I would probably be interested in anything, though Eberron is likely less useful.

If there are no home descriptions, general architecture would be a close second best.

Home brewed and item, and now

I have made a box that I have allowed my players to find, it is the Mystical Box of locks, Mark 4. They were given one key to the box, let’s call this the red key. The Red key opens the red lock. pretty easy right? Inside they found the remaining three keys, for simplicity let’s call these the Orange, Yellow, and Green key. the magic of this item is when the Orange key is used it opens up the orange compartment, while if both Red and orange keys are used it opens a third compartment. my problem comes from this:

if I start back at the beginning with one key and one lock, it opens one compartment, while 2 keys give me 3 compartments (red, orange, and red/orange), 3 keys give me 7 compartments (R, O, Y, R/O, R/Y, O/Y, R/O/Y) and the 4 keys give me 15. every new tier I get double + 1 of the previous. so logically 5 keys should yield 31 compartments, but when I mapped it out I only came up with 30. at 6 keys I should have 63 compartments but only can figure out 60 combinations. the mythical box that I have hinted at has 7 keys. if the pattern follows what it should it would be 127 compartments but I have 121 mapped. did I F up somewhere or is there some formula that I am missing?

help me Inter-web Kenobi, you’re my only hope.

for anyone wondering the dimensions of the box are 24′ x 18′ x 12′ or 3 cubic feet, (I’m an idiot. but I’m not stupid :))