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

learn more… | top users | synonyms

0
votes
0answers
35 views

What things should I learn to develop a perfect WordPress theme? [on hold]

I'm new to this tech stuff. I had a little experience with coding. I used to code in Java and C. I've never touched PHP. I had a very little experience with HTML and CSS, probably building basic HTML ...
0
votes
0answers
17 views

How can I add & validate custom registration & edit profile Fields and show value in my profile page?

I already added custom registration & edit profile fields in my theme's template-register.php.I added the following code for costume registration fields: <div class="column sixcol"> ...
0
votes
1answer
13 views

How to Create Custom HTML Tag on Editor in `Text(HTML)` mode

Can you please let me know how I can add a custom Tag button into WP Editor in Text(HTML) mode like what I would like to insert into the Post is something like <hr class="dark-line-2" /> ...
0
votes
2answers
27 views

Font Awesome stopped showing icons, shows &# text instead [on hold]

after migrating my WP site to a different domain and making adjustments, Font Awesome stopped showing icons and shows some weird text instead, for example & # 61505; (I can't copy it as a text, ...
0
votes
1answer
22 views

image sizes - finding and removing

I've inherited a wordpress site that has way too many image sizes being uploaded, several are not being used. I can't seem to find where they're being created in order to remove them. I've tried ...
0
votes
1answer
24 views

Output only links using wp_nav_menu()

I have been trying to output only links when using the wp_nav_menu(). This is because I have a predefined ul and li tags for the links. This is what I did: <div class="collapse navbar-collapse" ...
1
vote
1answer
73 views

Filter, or any way to dynamically change theme screenshot image?

I'm building a web application on top of WordPress. Part of this will be to automatically reconfigure theme assets based on the industry my user is aligned to. For example, the theme will auto-...
-1
votes
0answers
15 views

Wordpress presentation pages on envato

when I look on a theme presentation on Themeforest I see a lot of home/page samplings/contact samplings and blog/portofolio styles... I'm looking to make a theme... but, I feel discouraged when I see ...
-2
votes
0answers
19 views

Is any tutorial available to learn wordpress step by step ? [closed]

I have searched lot of websites to get step by step tutorials for wordpress, but i can't get any website like w3schools Could you please suggest any websites for learn wordpress step by step ?
0
votes
1answer
24 views

Display div only on the HOMEPAGE

I would like to display a div, only on the homepage. Is this possible? I have a banner in the header.php file and only want to display this banner div on the homepage. How could I achieve this? ...
0
votes
2answers
21 views

Inserting Plugins Into Blank Space of Externally Designed Wordpress Theme

I am currently working on this website which uses a Wordpress theme designed by one Themeforest author. As can be seen via the link and the following screenshot from the same page, the theme's ...
0
votes
0answers
19 views

Dynamically load custom post types after selecting custom term

I'm building a kind of "selector" tool. What I have in WP is a custom post type with equipment. Then I have a custom taxonomy called Equipment types. There are parents and children terms. For ...
0
votes
1answer
14 views

Dynamic drop down of child terms and then drop down posts

I'm building a kind of selection tool. I have 9 parent taxonomies. Each one has some children and those all have posts. I have the top level taxonomy displaying. However, I'm not quite sure how to ...
0
votes
1answer
40 views

Have the homepage look different to index.php without a static page

I have theme where I want to have the home page look different to the rest of the post lists. I used home.php to create the homepage and assumed that when Older Posts was clicked /page/2 would use ...
0
votes
1answer
17 views

Display content on Single page

I am building a single page theme, And I am having a problem with get_post_meta() The Problem This code bellow does not work, and I cannot see anything on the website as it's blank. Here is my index....
0
votes
1answer
12 views

Callback Function Not Firing On Selection In Media Uploader

I'm studying theme development and am working on some code for a media uploader that can be used to add a picture. The file frame is opening (and I've called wp_enqueue_media(); for that to be the ...
1
vote
1answer
16 views

How to change get_custom_logo() url?

I need to change default WordPress get_custom_logo() generated url because I need to link to the main multi-site site instead of single site. Is there any filter to change this function?
-2
votes
0answers
17 views

How do I remove the sidebar from this whole theme?

It's called Shapely and here is it's download site. I would like to remove the sidebars in general. I want to do it the right away instead of "display: none;" it in CSS.
-1
votes
1answer
15 views

Is using display: none the proper way to hide elements in a theme?

I'm trying to customize a purchased theme and I need to hide a bunch of default elements. Removing these elements is not natively supported by the themes options. I've done some research on removing ...
-4
votes
0answers
22 views

How to build a simple application on top of WordPress?

My client gave me a front-end admin/dashboard template that is built using HTML, CSS, JavaScript and jQuery. He said that I will be developing this application on top of WordPress. Is it even ...
0
votes
1answer
64 views

One-Page WordPress Template

I have created four custom PHP file pages page-about.php page-services.php page-portfolio.php page-contact.php I have entered custom php code for every page that will show up on the homepage as ...
0
votes
0answers
24 views

Creating a wordpress loop with featured images in different divs

I'd like to create a wordpress loop that allows me to style each featured images in separate divs. I've done a fair bit of research but can't seem to find anything that helps. Can anyone point me in ...
0
votes
0answers
10 views

How to move header image above the menu bar

I've created the blog by installing WordPress using cPanel for my website. Now by using wp-admin login I am trying to customize the blog to appear in the similar layout as my website. So far I have ...
1
vote
2answers
31 views

Custom metabox for custom page template

I have created custom page template. Now I have to make it configurable, however since I am using more than one template in my theme I would like to make sure that configuration will be available only ...
0
votes
0answers
13 views

How to configure wordpress to work with Vuejs with SSR and without hashbang

I am new on developing themes with vue.js and I would like to know how do I configure wordpress after removing hashbang from Vue.js router and on html5 history mode? Another question is on this setup ...
0
votes
1answer
38 views

Can I use WP Multi-site on a sub-domain with a different theme but use all the original site's posts/pages?

I've been reading a lot about multi-sites but am still not 100% sure on this. My use case scenario is that I have an original WP site which relies heavily on a lot of data in a custom post type. ...
1
vote
2answers
43 views

List authors with posts in a category

I'm trying to create a custom widget to display contributing authors for the current category being viewed on a WordPress site. I have the following PHP code: <?php if (is_category()) { ?> // ...
1
vote
2answers
38 views

Am I supposed to create a child theme for every theme I use?

I just learned about child themes recently and was wondering if creating a child theme for every theme I create is necessary. I just find it weird how other themes work okay without child themes, and ...
-1
votes
0answers
17 views

Theme with “custom css” field - changes are never saved

I am clueless. I am saving custom css code into my theme's "enter your custom css"field, I save it, and when I refresh the page everything is gone. At first I thought it was just a caching error: ...
0
votes
0answers
19 views

How to Apply Category Filter to Pagination

I am using Wordpress 4.3 and WPML plugin. I used category filter on theme, front page of site only displays posts in "English" category. Category id is 62. Code is below: <?php $...
0
votes
0answers
29 views

How to include a plugin's (MailPoet) javascripts using child theme's functions.php

I have to include some javasripts files in all pages of my website. They are required by MailPoet to handle newsletter subscriptions. Now, I may add them directly into the head section, but I'd like ...
0
votes
0answers
28 views

custom taxonomy not working in wp-job-manager

I'm working with the wp-job-manager plugin, and i need to add some custom fields in my search filter. I'm using another plugin for adding custom date fields, and it works perfectly. So i started using ...
0
votes
0answers
16 views

Create a role specifically for creating and editing a custom post type

I am creating a theme for a business. Using the WCK plugin I have created the custom post type 'teammembers' in which each post is a member of the team (name, role, image). I would like to make it ...
0
votes
2answers
22 views

How to use Internationalized human_time_diff() function in Chinese?

Looking at https://codex.wordpress.org/Function_Reference/human_time_diff I'm using an English version of Wordpress. In my theme template, I would like to define custom text of min, hour, day, week, ...
0
votes
1answer
18 views

wp_nav_menu custom walker <a> class

So I'm learning about custom walkers and I've run into a few issues. I've got a custom walker set up. One issue I'm having is figuring out how to add a class to the <a> inside of the start_el ...
-3
votes
1answer
23 views

How can I fix my pagination?

I'm trying to get pagination working on my custom wp_query post loop. I currently have it set up, but when I click on page 2, it shows the exact same posts from page 1. I have a total of about 8 posts ...
3
votes
1answer
64 views

Can't get staging site to display same way as live site. Completely stumped

Background I have a situation that's been driving me up the wall. After many hours (more than I'd like to admit), I've been unable to solve it. So I am thinking there must be a better way to go about ...
0
votes
1answer
22 views

How to add wordpress plugins in along with my standalone theme

I am developing my own custom WordPress theme but in my custom theme i am using some of plugins. Actually i am adding some custom field plugin to customize the text on my theme. My problem is that ...
0
votes
1answer
32 views

Warning: Invalid argument supplied for foreach() in post.php [closed]

Just moved my site to another server and now I get this error: Warning: Invalid argument supplied for foreach() in /home/menta/domains/land.menta4u.co.il/wp-includes/post.php on line 1172 On ...
0
votes
0answers
21 views

Can compromised theme files lead to WordPress core files being modified?

I was recently given a website that had been hacked before I took over maintenance for it. There was a script injected to the top of every core WordPress and theme PHP file. The first step was to ...
0
votes
1answer
18 views

How do I use the add_query_arg function in a template tag like previous_post_link?

I am trying to change the output of the previous_post_link and the next_post_link and basically add a query argument to them. The documentation just mentions that you can use the %link placeholder ...
0
votes
1answer
29 views

Setting a fluid content width

I'm thinking about setting the content width theme feature in my theme's functions.php file using: if ( ! isset( $content_width ) ) { $content_width = 600; } My understanding is this will set ...
0
votes
1answer
28 views

Shortcode call not working in WP Template

I'm working with a Visual Composer shortcode to call a text resizer into being. When using the Visual Composer or the classic WYSIWYG, if I insert it's shortcode [enlarge_text small='A' ...
0
votes
1answer
71 views

The post order is different for logged-in and non-logged-in users? [closed]

I noticed that for some reason on my site, the post order changes depending on whether a user is logged in or not. When I am logged in as the admin, the posts display is chronological order. But when ...
1
vote
1answer
59 views

What is better way to use Bootstrap inside admin panel?

I need to use Bootstrap CSS for better UI in wp-admin but if I enqueue the bootstrap.css, it's affecting the admin default UI by changing background colors, etc. How can I use bootstrap.css inside wp-...
3
votes
2answers
39 views

In theme development, are there functions which write HTML in a standard fashion to reduce “spaghetti code”?

For example, if I'm building a list in a plugin that loops over an array to produce a list ul or ol. I typically see code as follows. foreach($list as $item) { $output .= '<li>' . $item['...
-1
votes
1answer
37 views

Why functions metaboxes is causing White Screen in Admin [closed]

I am having an issue after migrating a project to other server. When I go to /wp-admin I am getting a 'White Screen of Death'. If I access to /wp-login.php instead I get the login form but with an ...
0
votes
1answer
23 views

Make page accessible from another URL

I have the following fictitious URL which returns a page: www.test.co.uk/park/leisure-village/overview/ Is it possible to make the following URL www.test.co.uk/park/leisure-village/, also display ...
-2
votes
1answer
28 views

How to remove proudly created by WordPress in theme?

How to remove proudly created by WordPress in theme?
0
votes
1answer
32 views

Is there a way to optionally hide the title bar when logged in?

When I'm creating a theme and I'm logged in, there is a wp admin bar that runs across the top of the page. This is helpful for normal use but it makes it hard to see what I'm working on when I'm ...