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

learn more… | top users | synonyms

0
votes
0answers
11 views

Allow to user select template only once

i want to give the user option to select template one time in multisites. way that can help me is to allow the user select the template once the user first login to the system. if you know how can i ...
0
votes
1answer
15 views

Lowest catagory link

I am trying to display lowest child category link.At this point I can only display the child category name but I want it with permalink.So far my approach $categories = ...
-1
votes
0answers
32 views

loop is running one time [on hold]

Hi guys why this loop is running one time. <?php $args=array('post_type'=> 'news'); $myposts = get_posts($args); //print '<pre>'; //print_r($myposts); //print ...
-1
votes
0answers
9 views

Plugin to display posts of a specific category, similar to a blog [on hold]

I am creating a magazine style template for WordPress and it has a few different sections displaying a few posts of each category. Kind of like this template: http://gazette.seoresearch.com/ . Is ...
-1
votes
0answers
11 views

Modify Header file of Optimizepress [ op_theme_file('header') ]

I have tried to edit the default header of Optimizepress, I have edited the blog header, but it seems I can't edit the default page header. On header.php its written <?php op_theme_file('header') ...
0
votes
1answer
19 views

Add a field to the taxonomy editor?

I would like to add an additional image field to WooCommerce Product Taxonomy Admin page as part of my theme. It works fine by modifying the existing class within the plugin, but it will be replaced ...
0
votes
0answers
11 views

Deleting files and directories with theme activation hook

Has anyone got some insight or good resources for a function to delete the standard plugins and themes upon activation of a custom theme? There does not seem to be a whole lot of info on the topic and ...
-1
votes
2answers
42 views

How to remove dashicons.min.css from frontend?

Is there any way to remove the dashicons.min.css file from the frontend? I know that they are used by the admin panel, but my theme doesn't use them so it's an unnecessary request.
0
votes
1answer
30 views

Js file is not adding using this code in functions.php

Sorry i am noob in WordPress. I am using following code in functions.php to add the .js file in wordpress. function your_function_name() { wp_localize_script( 'function', 'my_ajax_script', array( ...
0
votes
0answers
21 views

How to generate embed code [on hold]

I have made a proxy server with Google's app engine. I want users to share it where ever they can, on their blogs/forums/websites etc, but it has a small glitch. I want only the main box shared (like ...
0
votes
0answers
9 views

How to implement Photo Collection like Stock Photo site in WordPress? [closed]

I am implementing a site in WordPress that kinda work like a Stock Photo site like iStock or sxc.hu. The only difference is that it won't ask for any username or any credits to download the images ...
-2
votes
0answers
33 views

Wordpress Dashboard Jquery conflict, no drag and drop , widgets missing [closed]

Wordpress Dashboard Jquery Conflict. Drag and Drop not working, All widgets not showing up, Menu drag creates blank spaces.. Tried to disable all plugins, but no luck. changed theme to twenty twenty, ...
0
votes
1answer
21 views

Why the dynamic_sidebar() call is putted into an ul tag?

I am pretty new in WordPress development and I have the following doubt about how the sidebar are putted into a WordPress theme. Looking into the official documentation: ...
0
votes
1answer
61 views

Theme Development for a Newbie

TL;DR, Skip to Trouble I am a programmer and web developer by trade. I'm attempting to launch my own small business website in order to showcase my talents. As such, I've created subdomains for ...
0
votes
1answer
29 views

Where is the sticky post option?

So I finally need to include sticky posts in a theme but it looks like the feature is gone. When I create a new post, and click "visiblity", the sticky option is missing. I checked a couple other ...
1
vote
2answers
33 views

one time popup after theme activation

I've written a custom theme which does some one-time setup chores after activation - things which I need to do every time I use it on a fresh copy of wordpress, like creating a nav menu and ...
0
votes
1answer
19 views

Add rel to all images in a post

I want to add a rel to all images in a post. I am trying following filter but it will wrap only the images which are in the gallery. It does not wrap the images which are added individually without ...
0
votes
1answer
11 views

child comments not displaying as nested

I'm having some trouble getting my comments to display as nested from other comments. My current max level of depth is set to 5 through the wordpress admin panel, but all my comments appear on the ...
-1
votes
0answers
19 views

How to add a comments reply link?

I've used a custom comments.php file and it doesn't have a reply link, and when i use comment_reply_link i get nothing. It's some sort of emergency and i can't change my code. What should i do? This ...
0
votes
1answer
22 views

the_category() tag not styling HTML or CSS

I am having problems getting my the_category() template tag to style accordingly with the rest of my theme. I believe this is because the HTML isn't output the same way as the the_author() and ...
-2
votes
0answers
13 views

Why in this page can't use this CSS class also if the .css file is correctly imported? [duplicate]

I am not so into HTML and CSS and I am finding some problem with this WordPress theme that I am developing using BootStrap* CSS framework. If you open this page you can easily understand what is the ...
0
votes
1answer
18 views

How can I fix the even/odd child classes comments so that the comments are unaffected by the top-level even/odd?

Sorry if the title was confusing, I'm having a bit of trouble explaining here. I'm working on a theme for my site, and I'm using a slightly modified version of a custom comments template found here. ...
0
votes
1answer
28 views

How to show an entire post content and not also the excerpt?

I am pretty new in WordPress theme development and I have the following problem showing posts. You can easily understand what I mean opening this link: ...
0
votes
4answers
46 views

Does code in function.php differ from theme to theme

I have gone through some tutorials and I found that for every HTML to wordpress theme conversion, they write function.php file. Now I noticed that there is some common lines in that function.php.So ...
1
vote
2answers
31 views

How to display future posts - modified query still yields 404

I have a very strange problem and I am stuck. I want the single page to display posts with the post_status of publish and future. So I added this code to my functions.php in my theme: function ...
0
votes
1answer
34 views

Add new panel inside parent panel in WP Customize?

Is possible, add a panel within another panel. example: First Panel > child Panel > Section > First Setting ... Second Panel > Section > First Setting ...
0
votes
1answer
45 views

How to include plugin without activation?

I need to include plugin in my WordPress theme without plugin activation. I have these lines: include_once dirname( __FILE__ ) . '/math/class-constrained-array-rounding.php'; include( ...
0
votes
0answers
19 views

How do I get my theme scripts to load in a custom theme built from Bootstrap

I have created my own theme, pretty much from scratch, using Bootstrap 3.x. If just refer to the scripts from my footer.php file, it works. However, if I try to do it the right way, using ...
0
votes
0answers
21 views

Why does has_nav_menu return false when get_registered_nav_menus shows the opposite?

I'm working on a new theme to replace an old one. The existing theme has custom menus and I can't figure out why in my new theme a call to has_nav_menu is always coming back false. In my ...
1
vote
1answer
39 views

Can't show custom post thumbnail sizes as background images

I'm trying to work out a solution for responsive background images in Wordpress to use on my clients' sites. This is what I got: 1) I created some custom thumbnail sizes: function ...
0
votes
1answer
28 views

How to add custom field option with menu?

Please take a look at below image. Here we can see URL, Navigation Label & Title Attribute under Menu Structure >> Home. I need there a more option called "Data Description". I have a task to ...
3
votes
1answer
37 views

Translate third party plugin and save translation files in custom theme

I'm using Codestyling Localization and I want to translate a plugin and I want the translation files to be saved in the translation directory in the theme I'm building and not in the plugins ...
0
votes
0answers
32 views

Storing post meta values in an array

I want to create multiple metaboxes to store some values (for example 10 values). Currently I store them with different keys (val_1, val_2..). How can I store all of the values in a single meta key ...
4
votes
2answers
48 views

How to edit an existing WordPress theme? [closed]

I've been hired to modify/update/change an existing WordPress theme. The site is already live, and I'm wondering how to work on the theme locally first.
0
votes
1answer
16 views

Twenty Twelve Author not displaying

I have a WordPress blog. On which I want to display author name with each post. I have tried various plugins but these don't work for me. This is the address of blog: http://altuslift.com/blog/ I ...
-1
votes
2answers
28 views

Adding header logo instead of text

I want to add Header logo instead of the text "physics for All " in the following site. I think , i have to add my logo to my site then , i will have to insert the image link to the header.php ...
0
votes
1answer
56 views

How to check if woocommerce is activated in theme

I'm creating a theme with woocommerce which has the following: <ul> <li> <?php if ( is_user_logged_in() ) { ?> <a href="<?php echo ...
0
votes
1answer
38 views

I need to develop a one-page design

I know how to add the scrolling effect, I just needed help that how should I code the onePage.php template by which I can handle different themes for the divs i.e. ABOUT, EVENTS ... each div has a ...
0
votes
0answers
31 views

Hook pages by id on static front-page

I would like to build a one page website upon the Wordpress CMS. I'm looking for a way too hook my pages on a static frontpage by id, since I have several page types. I've tried: $id=6; $post = ...
0
votes
2answers
59 views

How to use my style.css file outside of wordpress subdomain?

I am building a wordpress theme from scratch on a subdomain and I want to use the same CSS files across my entire site. My problem is linking my wordpress PHP files (which are on the subdomain) to my ...
0
votes
1answer
39 views

How to upload/update theme from local - bitbucket - shared hosting?

I am having tough time to figure out the best most appropriate way to maintain and update my custom theme for wordpress. I have setup local server (wamp) with wordrpess where I mainly develop my ...
0
votes
0answers
26 views

Working widget does not show up in appearance->widgets

I try to add a custom widget for use outside of a normal sidebar. For that I have created class myfirst which extends WP_Widget and with appropriate function overrides. namespace widget; class ...
1
vote
2answers
75 views

Single Page Wordpress Theme - Using page templates

Well I am lost, its late and I have been searching google all night. Heres the problem I am running into. I am trying to create a singe page website using wordpress "pages". How I have initially setup ...
0
votes
3answers
17 views

Add admin script to several post types

I have found several tutorials how to add script to certain post type.like add_action( 'admin_print_scripts-post-new.php', 'banner_admin_script', 11 ); add_action( 'admin_print_scripts-post.php', ...
0
votes
0answers
29 views

WP_list_table unhideable columns

So I have managed to setup a custom WP_list_table in my theme as per the tutorial here. I really love the fact that you can make the columns hide-able, and I have manage to implement that. What I ...
1
vote
1answer
22 views

Theme Splash Image within the “Appearance -> Themes” control panel [duplicate]

I have created a theme, and its all working fine. Within the WordPress control panel under "Appearance -> Themes", you can see the available themes (Twenty Fourteen, Twenty Thirteen etc etc) and ...
1
vote
1answer
21 views

Where can i design and modify a new mail template for sending emails to users when commenting?

the mail sent by Wordpress is ok but its template is very simple and has no style or even a header or footer! its message has no information about my blog or logo. where can i edit its message body ...
2
votes
3answers
31 views

Filtering the Comment Form Allowed Tags

How can I remove some of the allowed HTML tags in comments/posts? For whatever reason, the following code, placed in my theme's functions.php, didn't work: add_action('init', 'my_html_tags_code', ...
0
votes
1answer
20 views

Adding Metabox Value Using the content filter

I am able to show repeater metabox on index and single post .Now I want to show this using add_filter( 'the_content', 'theme_slug_filter_the_content' ); My code to get meta value <?php $data = ...
0
votes
0answers
13 views

Moving Plugin Code into a Theme - Class Declaration - what hook should I use to create new instance?

I'm planning on moving a Plugin Inside a Theme I'm creating. The Plugin currently utilizes a Class to declare and set up the Custom Post Type and all of the other functionality of the plugin itself. ...