Themes create the public (front-end) interface for a WordPress site.

learn more… | top users | synonyms

-1
votes
1answer
49 views

on click load images on the same page [closed]

This is my website. On the left there is a list. I want to do is that whenever I click on Amazon 1 then page should display that specific images. When I click on amazon 2 it should display data for ...
1
vote
1answer
30 views

Calculate data and passing to Theme

i try to develope a Theme for displaying the Data of my own Plugin. Now I have the following scenario: I'm getting the PostId over get_the_ID(); (e.g. PostType = 'Product') then I'm getting Data ...
0
votes
1answer
24 views

footer menu changes primary menu

I am getting a strange error on my wordpress My primary menu is changing along with footer menu. so if I remove pages from footer they get remove from Primary menu is aswell here is how I ...
1
vote
0answers
60 views

Custom Navigation build using wp_nav_menu and walker

What I have Right now I have an old template in plain HTML. In there I use a custom Navigation menu built like this: <div class="collapse navbar-collapse main-menu main-menu-1" id="main-menu"> ...
0
votes
1answer
17 views

Include css file to theme

How can I include a css file into your theme that is included in the same folder of the index.php file? I've try to use the html link-tag but WordPress can't find it. Here is my code in header.php: ...
0
votes
0answers
21 views

Permalink Setting Changes From Post Name to Default After Changing The Page Name

I had to change a page name through theme folder like /currentTheme/ page-eyeglasses.php to ---> page-eyeglasses-1.php to make the page not temporarily not accessible. But after returning the ...
1
vote
0answers
49 views

Theme Customizer - Choose where widget area appears, to let users organise widgets

I am creating a Theme, and I have a problem with Widgets and Widget Areas. I am using the Theme Customizer to let the user edit the content, colors, etc. I know how to create a widget area. I need to ...
0
votes
1answer
26 views

How to Have a Pure HTML Sub Directory In WP Site

I have a website powered by WordPress which is working perfectly. Now I need to have a Custom Directory called app and a very simple HTML markup called app.php or app.html inside there nevertheless ...
0
votes
1answer
38 views

Passing variable in hooks and filter

I was trying to pass variables in filtes. This works perfectly for me. class my_class { function my_class() { add_filter('wp_list_categories', array(&$this,'cat_count_span')); } function ...
-1
votes
2answers
37 views

Making titles clickable

http://thewowstudio.com/quad/ I want my titles to be clickable Can anyone help me to figure it out how do I do this? I have been trying since a hour but no help. thanks <?php /** * The default ...
0
votes
0answers
37 views

Adult Disclaimer everywhere where 18+ post is dispayed

I need Adult Disclaimer on separate pages, on all posts from certain category (48 or slug - 18) on all custom post type with custom taxonomy with id 49 (or slug - 18) a) Is there any plugin? ...
0
votes
1answer
14 views

Wordpress Blog Page displaying nothing

I was writing my custom blog page for wordpress I replaced my content.php with this code <?php /** * Template part for displaying posts. * * @link ...
0
votes
0answers
22 views

Integrate Stripe api into Bedrock/Sage theme

My question is how do i get WordPress to recognize my new class so i can use it in my charge-card.php AND how do i get it to load Stripe in my actual class, using doesnt seem to work. I'm pulling in ...
3
votes
1answer
20 views

Custom theme sufficient or custom plugin neccessary for this feature set?

I plan some sort of an event website. There are organisations, which can host zero, one or multiple events. Events are never published on their own. Events will be published as 'inline' snippets only, ...
1
vote
0answers
26 views

Numbered List works on localhost but not work when online

i dont have any idea how to fix it, i had same styles.css on my localhost and web, but the ol(numbered list) is not work on my online web. ol{ list-style: decimal; list-style-position: inside; ...
0
votes
2answers
117 views

StoreFront Wordpress theme: How can i create a new Home page with Custom design same as template [closed]

I am getting too frustrated while creating new home page using template in Storefront theme. https://wordpress.org/themes/storefront/. With the help of this ...
0
votes
0answers
9 views

How can I enequeue GruntJS concat imagemin output?

After reading countless tutorials and learning how to output solid files using both the concat and imagemin plugins for GruntJS, I have yet to see how I can actually include the output files into my ...
0
votes
2answers
64 views

changing Specific section background image in wordpress

How do I change specific section background image in wordpress? I have a background image set via CSS: .section3 { background: url(bg.jpg) no repeat; } Say I want to change this image later ...
0
votes
1answer
41 views

Simple way to get two language WP site

I am trying to make a site with two languages. I was looking for solution and didn't found a simple how-to answer. Also, I prefer not to use plugins when it is possible. What I'm trying to do: 1) To ...
0
votes
1answer
41 views

What is the fastest way to update a theme?

Currently the process is to open the themes tab, click details, delete the existing theme, click add theme, open the dialogue box, select the file, begin upload then test before activating - but I’m ...
0
votes
1answer
30 views

WordPress Theme Developments - Start from another theme

Is it must to start WordPress theme development from beginning? Can we edit a current theme and publish it as our work? What is law about that? If it is possible, we can save lots of time. How to ...
0
votes
1answer
37 views

Full width thumbnail

I have a post part that is called into my single.php and looks like this: <div class="main-content col-md-8" role="main"> <?php while (have_posts()) : the_post(); ?> <?php ...
0
votes
0answers
17 views

Should I make a plugin or modify the default theme? [duplicate]

My project is this: to modify an existing plugin to add payment functionality that is not currently available for download as a separate plugin. So I need to code it all myself. I've begun this ...
0
votes
2answers
20 views

Access meta box checked value in another file

So basically I need to access the value of checked() in order to load diferent template parts in my single.php file. This is my meta box: <?php function ...
0
votes
1answer
69 views

Load different single.php templates according to post layout selection

I have created a way of choosing different layouts for posts(sidebar right, sidebar left, full width). This is done through a meta box that displays radio buttons with an image for each layout type. ...
0
votes
3answers
53 views

The Content is not Wraping in <p> tag

Can you please take a Look at this page (please hove over the image to see the paragraph) and let me know why the the_content() is jumping out of paragraph tag? echo '<p style="color:#fff ...
0
votes
1answer
26 views

Search only working on front page (index) , not working on other pages

I'm currently building a custom WordPress template and I've run into a problem with the search box. When I use the searchbox from the homepage, it works as intended. It also works as long as ...
0
votes
0answers
20 views

Dynamic sidebars

I have functionality in place to create dynamic sidebars. So the user can use default sidebars or create their own sidebars. The code for creating custom sidebars: global $my_theme_option; ...
0
votes
1answer
33 views

Undefined index: custom_sidebars

I am implementing custom sidebars on a theme I am developing. Everything works fine when I add new custom sidebars. However, when if I remove these new added custom sidebars I get the error Undefined ...
0
votes
0answers
14 views

Page broken in english [qTranslate]

For a client who needed his website in 5 different languages i've setup the qtranslate-plugin which does a really great job! But after maintaining the page today i realized that one page got broken ...
0
votes
0answers
8 views

Default widget for custom theme [duplicate]

I'm Currently developing some themes, in this theme, I need to make default widget, so when user activate my theme, the widget is automatically activated in the sidebar. I know I just can place the ...
0
votes
1answer
38 views

Full width featured thumbnail

How to make post thumbnail full width above sidebar and content? I am using bootstrap for a theme and have a single template named single-thumbnail-featured.php. On this post I need the thumbnail to ...
0
votes
0answers
16 views

Load content from custom taxonomy dynamic using slug

(Sorry for the long post) Is there anyone here who could help me with the following: What am I trying to do: I have a custom taxonomy named "Shows" and in this taxonomy i created "Expeditie ...
0
votes
0answers
27 views

WP: Using jQuery inside a woocommerce tab

I have a child theme of Storefront which is modifying woo-commerce. The child theme uses the following function in functions.php to enqueue jQuery.UI scripts. function hurrah_enqueue_scripts() { ...
0
votes
1answer
25 views

Adding a Class to an <img> Getting From Post Content

Can you please let me know how I can add a class to an image getting from Post Content? I have a page called promotion and it only contains an image which I uploaded through Add Media now in page I ...
0
votes
0answers
20 views

Add Postbox for Featured Image Caption in wp-admin/post-new.php

I'm newbie here. I want to add postbox / meta box in my wp-admin/post-new.php page. Someone please help me. Last days i have try to search it in any tutorial, but i cannt solve it. I try to modify ...
0
votes
0answers
37 views

Media uploader - error in my theme

When I try to upload an image using the image uploader in my theme I get the message 'An error occurred in the upload. Please try again later.'. When I switch to the twentyfifteen theme, I can see ...
0
votes
1answer
37 views

Using 'get_template_directory_uri' correctly

I have a woo-commerce child theme set up. In the functions.php file I am loading an additional tab. The function which loads the tab looks like this: function woo_finance_tab_content() { echo ...
0
votes
3answers
37 views

Where WordPress Stores The Custom Fields Values

I have a custom Post type called product which has a Methabox with a Custom Field Called Price I entered $ for some of the products and I need to remove them from the WP table. Now can you please let ...
1
vote
1answer
26 views

customizing the_password_form filter

I'm trying to customize the_password_form to integrate it with bootstrap inline-forms with an add_filter() function: function custom_passowrd_form ( $form ) { global $post; $label = 'pwbox-'.( empty( ...
0
votes
1answer
51 views

Internal error 500 accessing Theme > Customize

We have created a basic custom theme for WordPress. When trying to access Appearance > Customize from the backend we receive an internal error 500. I have checked the error logs and cannot find ...
0
votes
1answer
26 views

How do I include a partial from a directory below a wordpress theme directory?

I have 3 themes set up right now and I need them all to inherit partials from the same source in order to update all three themes at the exact same time when I change any of those partials. I'm ...
0
votes
2answers
54 views

How to manipulate wordpress template tags' output

take the_category() as an example: Here is the output of the_category function in the wordpress loop: <ul class="post-categories"> <li> <a ...
0
votes
0answers
100 views

How to call function in functions.php in external file inside same theme?

I'm trying to develop a theme by my self, in my theme, i have a function inside functions.php and a php file named ajax.php. i was trying to call a function inside functions.php in ajax.php, but its ...
0
votes
0answers
43 views

Create new sidebars trough admin post/page metabox

I have this bit to register sidebars dynamically: function my_custom_sidebars() { $sidebars = get_option('my_theme_sidebars'); // get all the sidebars names if ( ! empty($sidebars) ) { // add a ...
0
votes
1answer
25 views

Slider should be display in home template [closed]

I am using WPExplorer Elegant Theme. Slider display in Front page as well. But if i make my blog page (Front) then i don't want to display slider in blog page. I want that slider should be display in ...
0
votes
0answers
32 views

Loop carousel slider in wordpress

Hello i create a custom post type clients to add client image but i was not able to loop all here my code I want this code to loop <div class="item active"> ...
0
votes
1answer
19 views

How one category can have different fields?

I am new in WordPress but before I worked with Drupal and it is different and I am a little confusing now. I am going to make a website for a travel agency, and one of the categories that they have ...
0
votes
1answer
39 views

Is there a way to switch to another theme?

Is there a method that exists that will let me switch the theme? Update: It looks like switch_theme is the method and there is also an event of the same name. It says that it accepts an argument of ...
0
votes
1answer
45 views

Is this an acceptable practice for WordPress theme development?

I don't think this is the right way to do things, maybe I'm wrong or missing something but to me it seems unnecessary. Is this correct? What are the implications if any of doing things this way? In ...