Can’t center post thumbnail with bootstrap [closed]

The image is probably not display:block (they are inline by default), and so using margin: 0 auto won’t do anything. Try either adding text-align:center to your .col-centered, or setting your image tag to display:block (with margin: 0 auto). Best I can do without seeing more of the surrounding styles.

Use PHP code in Menu Admin Section

Allan, thanks for clarifying the question. You can’t add PHP in the wp-admin menu manager. Instead, here is a way to keep the menu dynamic and managed in wp-admin, while still allowing you to add your PHP at the end: <?php $args = array( ‘menu’ => ‘your-menu-name’, ‘container’ => ”, ‘items_wrap’ => ‘%3$s’ ); ?> … Read more

making a search.php query

You are missing the search parameter in your arguments. The code below, when added to the array in $the_query, should pass along the query string variable from a search: ‘s’ => $s Documentation is available here: https://codex.wordpress.org/Class_Reference/WP_Query#Search_Parameter

Custom Post Type with Custom Taxonomy in Bootstrap 4 Accordion

Here the solution: <?php $post_type=”paradas”; // Get all the taxonomies for this post type $taxonomies = get_object_taxonomies( (object) array( ‘post_type’ => $post_type ) ); foreach( $taxonomies as $taxonomy ) : // Gets every “category” (term) in this taxonomy to get the respective posts $terms = get_terms( $taxonomy, array( ‘orderby’ => ‘name’, ‘order’ => ‘ASC’, ‘hide_empty’ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)