## What theme to use for my specific reading feature? [closed]

Question
Total newbie here. I'm looking to make a site that has 2 different view modes for all articles. The "normal" mode has 1 column of text & a sidebar & all other fancy stuffs a site has. The "reading" mode has ...
0
3 days 0 Answers 8 views

Question
I want to get several post by tag. So I try to use get_posts() function: <?php $args = array( 'numberposts' => '3', 'post_status' => 'publish', 'tag' => 'travel' );$recent_posts = get_posts($args);?> But it doesn't ... 0 3 days 0 Answers 11 views ## preg_replace specific Text to small latter strtolower Question Please i need to replace link with capital letter to small letter using wp function E.g let every text after /get/ be replace with small letter. <a href="https://stackexchange.com/get/ASK-Question"> => <a href="https://stackexchange.com/get/ask-question"> <a href="https://stackexchange.com/get/aSK-QuesTion"> => <a href="https://stackexchange.com/get/ask-question"> here is my function, I dont know where ... 0 3 days 0 Answers 10 views ## moving sections around on wordpress themes that contain sidebar toggles Question I am trying to edit a wordpress theme's home page and despite looking hrough some of the php and java acripts as well as searching for the Div classes in all files can not figure out how the theme is ... 0 3 days 0 Answers 11 views ## search and replace using regex Question Hello please I want to search and replace word after /check/ and make it to be permalink sanitized. i.e https://example.com/check/Dav,ido Song/ => with https://example.com/dav-ido-song/ https://example.com/check/daV,i'do1/ => https://example.com/dav-i-do1/ https://example.com/check/daV(i'do)/ => https://example.com/dav-i-do/ I want to achieve this using sanitize_title() or sanitize_title_with_dashes() function. here is my word replacer. ... 0 4 days 0 Answers 11 views ## How to Display Post View Count Question I am trying to display post view counts. I've tried below function to display the post view count, but I'm getting same post view for all the post in loop. Not getting correct post view count. Function: ... 0 4 days 0 Answers 13 views ## How do you add customer capability after Woocommerce purchase? Question Can I do something like this to add a capability after someone purchases a product in my child's function file? Please note, I'm using s2member and woocommerce, and I am a newbie. add_action( 'cap_added', 'change_user_cap_with_purchase', 1 ); function change_user_cap_with_purchase ( ... 0 4 days 0 Answers 12 views ## Remove a menu item created by a plugin Question I'm trying to remove a menu item and tried several approaches, but have not had any luck. It was created from a FAQ plugin. If I use this line: remove_menu_page( 'edit.php?post_type=question' ); It will remove the main menu, however I only want ... 0 4 days 0 Answers 16 views ## php output Contact Form 7 – Repeatable Fields Question I'm using the plugin cf7 repeatable fields and I’m creating a form which saves a xml file while pressing submit button. I’m printing all the shortcodes of cf7 with$output .= \$_POST[‘shortcode’]; but I’m not able to print any field of ...
0
4 days 0 Answers 15 views