Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (15)

0
votes
0answers
16 views

custom post type display on change category with out loadin page with ajax

In custom post type (profile) .I have categoeries ( state 1 , state 2 , state 3 ) which is dropdown list . I want to show post to select any state change then posts show by selected category without ...
0
votes
0answers
26 views

Show posts with Ajax by category

In a custom post type (profile), I have categories (state 1 , state 2 , state 3) in a dropdown list. How can I show posts to select, and with any state change, then show posts by selected category ...
0
votes
0answers
17 views

Custom Image for Each Author, NOT profileImage - Front end only

I been battling with this issue for months now. Finally decided to ask for help... Stubborn, I know :( I have this WordPress website, where each author has his own profile and edit his own profile. ...
1
vote
1answer
50 views

Cannot save CPT meta box

I swear I have tried every tutorial, and looked through every Stack Overflow thread to figure out what I'm doing wrong... I'm creating a custom wordpress backend for a church that includes a place for ...
0
votes
0answers
48 views

How to make a plugin by customizing a wp core file (class-wp-widget-rss.php)

I need to customize a wp core file, but I know it's not recommended. How to turn this custom file into a plugin? The file I'm talking about is wp-includes/widgets/class-wp-widget-rss.php and I only ...
0
votes
0answers
19 views

how to add description in custom photo wordpress, from front-end

I have an item block in fron-end, with it i uploud custom images, i want to add short description, that will look like this
0
votes
0answers
49 views

Add each Wordpress menu item into individual Bootstrap column

So basically what I'm trying to do is create a custom menu that has icons the user can add/edit. Each menu item has two pieces to it, the top has an icon and then the base has the name of the ...
1
vote
0answers
34 views

Can't receive $args[ ] to my custom widget

I'm new to WordPress. I created my first ugly widget. It located in wp-content/plugins/my-awesome-widget/widget_init.php (no more files in this folder). And it's working. I created a sidebar and ...
1
vote
0answers
11 views

How Can I Create a List of Values to Be Iterated Through via WordPress Customization API?

I currently have a theme with OptionTree installed. It is used to create a list of locations which are then visible in a dropdown in the header of the page. The display code with OptionTree looks like ...
-2
votes
2answers
21 views

Do i need to use PHP in customizer api?

i understand with the wp rest API i will be able to build Wordpress themes with other languages but will i be able to do the same in customizer api or would i need to use php to give customization ...
1
vote
0answers
13 views

How To Add buttons to the toolbar which appears in TinyMce when you click over images

Using Wordpress 4.4 I need to add a custom button to manipulate images. The button should appear when the user clicks on an image, next to other buttons. An example of the other buttons:
0
votes
2answers
29 views

Create page as a file in my theme?

Is it possible to create a single page by just adding a php file inside my theme and add header and footer to it? Yes, I know, this page will not be able to administrate through WP Admin. I have ...
0
votes
1answer
71 views

Reusable code that I can store in the function.php and apply to other templates as need. Dry Code

I am trying to apply reusable code to some single-posttype template and I was wonder if I can store the code somehow in the function.php and include it where i want to. Here is the code if ...
0
votes
0answers
23 views

How can I create a sub menu for sections (customization page)? [duplicate]

For example, the submenu in this image would be Default Typography. I have a lot of colors the user can customize and I'd like to organize them a bit better with sub menus like title, footer, header, ...
0
votes
1answer
28 views

Create 2-layered dropdown menus for custom taxonomy and custom post type

I want to display one dropdown menu with a list of values for a custom taxonomy. My taxonomy is "issue-year" and the dropdown would look like this: <select name="issue-year"> <option ...
0
votes
1answer
29 views

WP plugin calls for custom pages

I'm trying to create a custom landing page for my site. I am using wordpress because of the SEO plugins they offer. Mind you I'm not an expert so this might be an obvious question (please be gentle) ...
1
vote
1answer
26 views

How to add custom control to a page?

I want to add a simple control to a page that allows the user to change the background. Something like this: Since there could be any number of pages and colors I thought it would be best to do it ...
0
votes
0answers
19 views

Editing specific text on Custom Page Template

I'm a Wordpress beginner and made my first personal theme from a static html website. Currently I'm trying to edit specific text on for example the homepage. I did manage to changing background color ...
1
vote
1answer
23 views

How to customize core admin pages within a theme?

Say I'm building a WordPress theme, and when this theme is active I want to display customized versions of some admin pages. Let's suppose I want a custom "Widgets" page: I can find the template for ...
1
vote
1answer
21 views

Blog Posts in Custom Menu

I have a custom menu but would like to put specific posts on each one. for example: my menu consists of: cooking, beauty and style. How can i put all cooking posts on the cooking tab, and all beauty ...
1
vote
1answer
38 views

Search result page redirect ex.com/?s=searchterms to ex.com/searchterms

I want to redirect search result page to a static page like example.com/?s=searchterms to example.com/searchterms or example.com/?s=searchterms to example.com/searchterms.html Any possibility in ...
1
vote
1answer
21 views

How to customize a permalink (URL) structure?

i am using $post->guid to get the URL of an attached file to my post. the output is something like this: http://example.com/foo/ [where foo is the file name]. now i want to make a URL like ...
1
vote
1answer
18 views

Is it possible to add a custom page to a free Wordpress site? [closed]

I'm trying to add a custom page to my Wordpress website. I found this link, which says that I need to add the template to the theme folder, but I have a free Wordpress website, so I don't have access ...
1
vote
1answer
28 views

Publishing html directly from ftp to wordpress

I have a program for a booking programme and within that is an "Update Website" button which originally would ftp the html created straight in place of the old one meaning once you click update ...
0
votes
2answers
31 views

Media Upload not working after hiding some elements from functions.php

I have put the below code in functions.php. (It's used to hide some options from client.) But the problem is, after adding these codes, images are not uploading, can't even even uploaded photos from ...
5
votes
2answers
217 views

Add custom html to last sub-menu item

I'm adding a custom menu to my wordpress theme. I need to add custom html to the final submenu item - before the primary sub-menu closes </ul> I have registered my new menu //functions.php ...
1
vote
0answers
9 views

Navigation label for page in custom theme

In Appearance -> Menus, one can change a page´s navigation label. The label is what shows in the menus. However, i´m using a theme with a custom menu, always showing the full page´s title in the menu. ...
2
votes
1answer
197 views

Add CSS animation as Preloader to WordPress

I found a CSS animation snippet on Codepen, and would like to add it in my WordPress site for preloader animation, but I couldn't find any related help or plugin that would allow me to add a Preloader ...
0
votes
1answer
53 views

How to redirect WooCommerce shop URL?

Is there any way to redirect WooCommerce default 'http://website.com/shop/' URL to 'http://website.com/shop/all/'? After a long research found this : How does Wordpress redirect to WooCommerce shop ...
4
votes
1answer
222 views

How to remove Profile Picture section or the message “You can change your profile picture on Gravatar.”

How to remove profile picture section from WordPress admin panel or the link "You can change your profile picture on Gravatar." add_action('admin_footer-profile.php', 'remove_profile_fields'); ...
1
vote
1answer
59 views

Landing / Static HTML page

I want to use static HTML for a landing page on a WordPress site. For example: example.com - WordPress already running in root folder landingPage.example.com - I purchased this static landing page ...
0
votes
0answers
23 views

Custom wordpress form with get method

I try to setup custom wordpress from its probably easy but... I made template and inserted this code: <form action="" method="GET"> <label>NAME:</label> <input ...
0
votes
0answers
18 views

Customize the header's image change on hover

-I am using the Twenty Twelve theme if that matters- What I try to do is add a custom field on Customization Menu where I will be able to pick the image I want in order to replace the header image ...
-1
votes
1answer
29 views

How do I add functionality to images?

How would I add functions to images? I host a photography site, in which I'd like to add options to favorite an image or attach it to a product for ordering. Is there a hook or something that I can ...
0
votes
1answer
73 views

Centering one product on a single page [closed]

I have one minor issue that I cannot resolve and that is being able to center a single product on a page. I have managed to research this site and others and been able to center the text however I ...
1
vote
0answers
27 views

non-hierarchical post type with hierarchical url structure

I want the url for my custom post type to be like : "example.com/parent-custom-post/child-custom-post/grandchild-custom-post/" without setting the hierarchical(for custom post type) to true. I heard ...
0
votes
2answers
35 views

Add Member's birthdate from Backend and shows it on frontside [closed]

I want to add functionality like Add member record with birthrate and as per the current date it shows on page. Ex : Add record - [name] [birth_date] [position] And on the front page we can shows ...
0
votes
1answer
21 views

How to use a WP_Customize_Control outside of the Customizer?

I have a few custom WP_Customize_Control classes that are shown within the standard WordPress Customizer area. These are working fine. Is it possible to pull some of these out of the customizer and ...
0
votes
0answers
17 views

Limit registration to predetermined addresses on multisite

I would like to limit the people who can create a blog on my multisite. I have a product that will come with a subdomain name for them to enter to create their blog. I don't want anyone else except ...
-1
votes
1answer
30 views

Best way to modify theme

I have to custom differents pages of my theme like archive.php or single.php, I want added my code without lost these in future update of theme. It is possible ?
0
votes
0answers
44 views

Wordpress Admin custom error notice

I followed some advice around here in order to display custom error notices after clicking the update button in the admin area (here it is related to a custom post type, i don't know if it's ...
0
votes
0answers
33 views

How to get WordPress to accept the <style> tag in articles (or other alternatives)

WordPress (i.e. TinyMCE) automatically strips the tag from articles in newer version. This means, you can only rely on inline CSS which makes the code ugly for more complex styling options and is ...
1
vote
0answers
129 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
56 views

Remove link from page title

How can I remove the link from the page title in my WordPress theme? Here's the link to my test site and below is the code responsible for that: <h1 class='post-title <?php echo $titleClass; ...
0
votes
1answer
97 views

same template for multiple custom post type single

I know we could use single-custom-post.php But i have multiple custom post type like america nepal norway i can do single-america.php , single-nepal.php , single-norway. But they almost have same ...
0
votes
3answers
116 views

Static text above category page

I'm trying to add some static (welcome) text above my post excerpts, for which the posts page has been set up to display a category, in this case News. Link I've tried entering the following: ...
0
votes
1answer
38 views

same archive template for different custom post

Suppose i have registered five custom post type like this america china nepal norway chile And to template the archive i should use like this inside theme folder isn't it? archive-america.php ...
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, ...
0
votes
1answer
17 views

How can you control what a user is allowed to post in the backend?

Let's say when a user makes a post, rather than having them able to enter just anything into the Post Title input box, can I change that to be a dropdown with specific predetermined items? I've never ...
1
vote
1answer
55 views

Unable to sanitize in customizer and escape in theme without removing ability for user to use “< br >” to insert a line break

I have been unable to figure out how I can properly sanitize (in the customizer) and escape (in the theme, while allowing the user to use "<" and ">" to insert a '< br >' and add a line break ...