TransWikia.com
  1. All Categories
  2. WordPress Development

WordPress Development : Recent Questions and Answers (Page 16)

Find answers to your questions about WordPress Development or help others by answering their WordPress Development questions.

htaccess rewrite for author query string when WP is in subfolder

I have successfully forbidden access to any kind of author pages whether trough /author/username/ or the ?author={#id} query string. I did this with this added to the beginning of my...

Asked on 11/23/2021 by D. Dan

5 answer

Filter wp_redirect() to stop redirect under certain condition

I am developing a tool to print PHP debug messages on screen. I would like to stop the wp_redirect() function from actually doing the redirect if the debug tool contains...

Asked on 11/23/2021

1 answer

Where is the htaccess in wordpress.com hosting?

I am looking to upload a htaccess file or amend the existing htaccess, assuming there is one being used by WordPress. All i want to achieve is denying access to...

Asked on 11/23/2021 by user2007920

1 answer

How do you approach block structured content?

I'm currently trying to learn how to create a custom wordpress themes and while the documentation is pretty great there seems to be a lot ways to implement things on...

Asked on 11/23/2021 by Kevin All

1 answer

Why i getting blank user_activation_key in get_user_by( 'login', $login ) function?

I am facing strange issue, I have implemetned custom password reset template, Where I am checking key using$user = check_password_reset_key($_REQUEST['key'], $_REQUEST['login']);When i check in function detail and print $user...

Asked on 11/23/2021 by Jaysukh Maghodiya

0 answer

Google Fonts not loading correctly

I have enqueued google fonts in the usual way in functions.php:function travellers_field_guide_scripts(){ wp_enqueue_style('travellers-field-guide-style', get_stylesheet_uri(), array(), _S_VERSION); wp_enqueue_style('googlefont_css', 'https://fonts.googleapis.com/css2?family=Alata&family=Lato:wght@300;400;700;900&display=swap', false);}add_action('wp_enqueue_scripts', 'travellers_field_guide_scripts');However, upon checking the <head> all I...

Asked on 11/23/2021 by OctaviaLo

1 answer

Display a list of posts corresponding to a category

I have this code that is displaying a list of my blogposts on my index.What I would like is to add a category parameter to it, to only display...

Asked on 11/23/2021

1 answer

wp_redirect() function is not working

wp_redirect($post->guid) is not working. How can I fix this? This is my code:if(isset($_REQUEST['vid']) ){ $id=$_REQUEST['vid']; $post_title = 'sasa'; $post_content ='zxczxczxc';...

Asked on 11/21/2021 by SANS780730

8 answer

How to search only by post title and category?

I'm currently working on my first theme (based on underscores) and just realized the search does not return any results if I input a category name, nor does it give...

Asked on 11/21/2021 by Carl Jue Nier

1 answer

Custom form validation

I have created a basic form which can be POST to admin-post.php and also submitted via an AJAX call to admin-ajax.php. Both submissions work correctly, use the nonce for a...

Asked on 11/21/2021 by Alexander Holsgrove

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP