Alex Dimitrov
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How do you add "Next" / "Previous" buttons to pagination?I see what you need, but in UX point of view it make no sence. This area, the pagination, is used ONLY to paginate the post and nothing else, your theme has other area, that link to other posts. I strongly recommend not to do it as you wanted. But as i see the function works, i dont know how to implement this, since you are not printing anything, but returning values.
Forum: Fixing WordPress
In reply to: How can we create custom Permalinks in WordPressCheck the codex before asking questions.
Forum: Fixing WordPress
In reply to: How do you add "Next" / "Previous" buttons to pagination?I believe this plugin can do the job.
If you dont want to use plugin, here is good description how to setup it, because the default WP func doesn’t allow you to.
Forum: Fixing WordPress
In reply to: How to define relationship in post with a custom post typeIf i understand currectly, you basicly want to group your custom posts, where the group which hold them is certain agency. For this you need to register custom taxonomy (category).
Forum: Fixing WordPress
In reply to: How do you add "Next" / "Previous" buttons to pagination?The pagination links are called with wp_link pages
https://codex.www.ads-software.com/Function_Reference/wp_link_pagesThe parameter you need to look at is this: ‘next_or_number’, and as in the codex is written,
next_or_number
(string) Indicates whether page numbers should be used. Valid values are:
number (Default)
next (Valid in WordPress 1.5 or after)You need to use “next”.
Forum: Fixing WordPress
In reply to: Add default image borderInstead of
border: 2px solid white;
You can write the color you need at the place of “white”. You can write HEX colors like #ddd, #ccc and such. Made your own here : https://www.colorpicker.com/. (you need to copy the letters above the picker and always have “#” before them)Forum: Fixing WordPress
In reply to: Add default image borderIt can be styled like that:
Select all images that are not floated to left or right, but you could just add the stylings for this with theWordPress CSS classes
img.alignnone { /* your code */ }
or
reach it by the way the theme is structored:
#container #left img { /* your code */ }
The first one will select all images from all posts and apply styles to them and the secound will select all images from the div#container #left and apply styles to them.
This is all you can do with the current theme structure. If you have more questions, ask ??
Forum: Fixing WordPress
In reply to: Remove GravatarThe gravatar settings are located in your WordPress site’s Dashboard in “Settings – Discussion” and from there at the bottom of the page the “Avatars” settings.
If you dont want only your avatar to be displayed, choose “Blank”
Forum: Fixing WordPress
In reply to: Formatting on entire site is screwed upfoodpress/styles/ (your theme folder inside wp-content/themes
I don’t know where you can find your old file, ask the designer that changed files.You can see what the error says, thats all there is. The file can not be located. This is the sole reason the layout is broken. If you are using downloaded theme, download it again and get the file from there. (this is why working on child-themes is prefered in most cases)
Forum: Fixing WordPress
In reply to: Add default image borderI can not tell you what is your theme’s post wrapper CSS class to give you exact tip. Can you link me your site, this will greatly help. (and please, next time you have such questions link the site if its hosted somewhere)
Forum: Fixing WordPress
In reply to: Formatting on entire site is screwed upmod please delete this post ;( Refreshing issues
Forum: Fixing WordPress
In reply to: Formatting on entire site is screwed upError:
Failed to load resource: the server responded with a status of 404 (Not Found) https://simply-healthy.com/wp-content/themes/foodpress/styles/default.css
See if this file is there (100% it isn’t) so find it from your older theme version and put in in this folder. I believe its been moved somewhere or deleted. Thats the css that should be responsible for the layout stylings.
Forum: Fixing WordPress
In reply to: Add default image borderYou must select the tag that hold the posts. Check it with your browser debugger and write it. Could be something like that:
.entry img { /* your code */ }
Remember, don’t copy-paste it, check what is your entry tag!
Forum: Fixing WordPress
In reply to: Formatting on entire site is screwed up1. You can link to show how the theme look, there is nothing that can be done if you dont.
2. Revert the changes he made, this should definetly fix it.
3. Its possible the css file is not loading. (i doubd this, but if you send the link to theme i could help)Forum: Fixing WordPress
In reply to: Want to remove white spaceThe style that define this white space is written on line 744 in the theme style.css file. DO NOT edit there, but as you said, write safe custom css from the plugin or from a child theme.
#masthead { margin-bottom: 0; }
One tip: i dont suggest you to change it to 0px ?? I find it looking good at margin-bottom: 30px. (i work as designer/front-end dev if that could convince you)