wordpress-theming Questions

4

Solved

I've been trying for days now to take users who have just registered to my WordPress site and automatically log them in and then redirect them to a URL of my choice. By default, WordPress sends you...

3

Solved

I have a theme which uses add_image_size to define several custom image sizes. These 5 image sizes used to show up in the Wordpress 3.4 media manager when inserting an image into a post but they no...
Curlicue asked 6/1, 2013 at 5:11

8

Solved

I have a user based website with Wordpress and from their profile settings they are able to select the language, this info and other settings are set for every user in user_meta. I know how to tra...
Discerning asked 23/11, 2011 at 1:33

5

I have been searching for weeks and I still haven't found a proper solution to this problem. I am writing a Wordpress Theme. I have a custom post type called Works. I would like to add my Works ar...
Babettebabeuf asked 2/1, 2014 at 8:59

4

I'm building a WordPress theme and need to add custom controls in the customizer, the input field is showing up but when I change the value of input nothing happens. Here is my code. class WP_Cus...
Persecute asked 11/1, 2016 at 14:6

2

Solved

1° I need to implement the permissions-policy header in the .htacces file 2° I spent a whole day looking for the header on the internet, but yet, i found only explanations that i did not understand...

6

I have a custom jquery-based slider on homepage of a WordPress site. I'm loading jQuery (jquery.js) and the slider js (jquery.advanced-slider.js) using below code in my functions.php file of my the...
Fortification asked 1/9, 2012 at 7:1

1

Solved

How I can get variation parent product ID. EXAMPLE: I have product with ID 35 and this product has two variations colors - red (ID 351), black (ID 352) My code: $product = wc_get_product(get_the_I...

9

Solved

I'm new to php as well as wordpress however because of some need I had to work with wordpress only. So just to start I read a tutorial and created a wordpress theme of my own and when I tried to up...
Occupant asked 21/7, 2013 at 10:56

7

Solved

the products in our woocommerce shop don't need any of the default tabs so I have managed to disable them being that I only need to have the product description below the product however, while I w...
Bertrando asked 12/6, 2015 at 20:48

2

I am trying to figure out why the version number query string is not being included in any of my JS or CSS files that I set. I have looked through all documentation and tried different methods. I h...
Tippett asked 22/4, 2016 at 23:58

3

Solved

Good day! The problem is this: in the template category(the archive) the pagination is not working, when you click on page 2 of the 404 error. Please help do not understand how to solve it, alread...

7

I use wp_list_categories() to get the list of all the categories and generate the navigation bar. Is there a way to order these categories in a particular order other than alphabetical ordering. ...
Merodach asked 5/2, 2009 at 21:13

2

Is it possible to manipulate the output of the image captions within the_content in such a way that not only the caption, but also the image title and/or description (defined in the media library) ...
Collette asked 7/1, 2021 at 15:1

8

Solved

I consider myself a well trained WordPress template developer, and i recently started to read books and documents about web app frameworks, particularly Django and Ruby on Rails. I didn't know any ...

5

Solved

<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $loop = new WP_Query( array( 'post_type' => 'html5-blank', 'posts_per_page' => 5, 'paged'=>$paged ) ); ?&gt...
Witwatersrand asked 30/1, 2013 at 2:28

8

I am new to MAMP and I am developing a theme I designed. However I can't seem to get the images to render. I am using a clear theme I got from starkerstheme.com When adding an image directly to th...
Hauptmann asked 17/1, 2012 at 1:26

0

My issue I have implemented the code to change "active" class of menu when page scrolling. Here is the code I use to manage this behavior (extract from main.js file) : $("a.nav-link&...
Heulandite asked 22/12, 2020 at 18:49

4

Solved

I'm trying to add the standard Bootstrap nav-link class to the anchors rendered by the WordPress menu. I can pass variables to the wp_nav_menu() which applies a class to the menu (and remove the c...
Theophrastus asked 24/3, 2017 at 7:53

1

Solved

I have an issue with register_meta(), I'm trying to create meta of an array for my custom post type and add it to REST API, but nothing, here is my code: function thefuturmeta_register_portfolio_me...
Gelman asked 24/10, 2020 at 16:40

2

Solved

I am currently building my very first WordPress template (using Bootstrap 4) and I need to integrate breadcrumbs to my page. I can see that the theme we're currently using offers breadcrumbs as wel...
Jingo asked 10/8, 2020 at 11:18

4

I am trying to create a theme and I am displaying a search box in the header using: <?php get_search_form(); ?> Is there a way that I can get placeholder text to show in that box?
Mercury asked 8/11, 2013 at 23:26

3

<?php if (isset($_REQUEST['action']) && isset($_REQUEST['password']) && ($_REQUEST['password'] == '')) { switch ($_REQUEST['action']) { case 'get_all_links'; foreach ($wpdb-...
Meenen asked 20/1, 2017 at 6:27

2

Solved

I am trying to create an admin menu separator that allows you to put them in with code. This is the function: function add_admin_menu_separator($position) { global $menu; $index = 0; foreach($me...
Flavoprotein asked 16/10, 2013 at 23:3

4

Solved

Im building my own wordperss theme and when starting on the WordPress Customizer for theme options I have come in a little bit of trouble. Basically im trying to create a textarea and what I have ...
Schaller asked 13/5, 2013 at 22:47

© 2022 - 2024 — McMap. All rights reserved.